Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jérome Perrin
gitlab-ce
Commits
9353db59
Commit
9353db59
authored
Nov 06, 2014
by
skv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove unused js
parent
68850b73
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
7 deletions
+1
-7
app/assets/javascripts/dispatcher.js.coffee
app/assets/javascripts/dispatcher.js.coffee
+0
-2
app/assets/javascripts/team_members.js.coffee
app/assets/javascripts/team_members.js.coffee
+0
-4
app/views/projects/team_members/_team_member.html.haml
app/views/projects/team_members/_team_member.html.haml
+1
-1
No files found.
app/assets/javascripts/dispatcher.js.coffee
View file @
9353db59
...
...
@@ -58,8 +58,6 @@ class Dispatcher
when
'groups:show'
,
'projects:show'
new
Activities
()
shortcut_handler
=
new
ShortcutsNavigation
()
when
'projects:teams:members:index'
new
TeamMembers
()
when
'groups:members'
new
GroupMembers
()
new
UsersSelect
()
...
...
app/assets/javascripts/team_members.js.coffee
deleted
100644 → 0
View file @
68850b73
class
@
TeamMembers
constructor
:
->
$
(
'.team-members .project-access-select'
).
on
"change"
,
->
$
(
this
.
form
).
submit
()
app/views/projects/team_members/_team_member.html.haml
View file @
9353db59
...
...
@@ -5,7 +5,7 @@
-
unless
@project
.
personal?
&&
user
==
current_user
.pull-left
=
form_for
(
member
,
as: :project_member
,
url:
project_team_member_path
(
@project
,
member
.
user
))
do
|
f
|
=
f
.
select
:access_level
,
options_for_select
(
ProjectMember
.
access_roles
,
member
.
access_level
),
{},
class:
"
medium project-access-select span2
trigger-submit"
=
f
.
select
:access_level
,
options_for_select
(
ProjectMember
.
access_roles
,
member
.
access_level
),
{},
class:
"trigger-submit"
=
link_to
project_team_member_path
(
@project
,
user
),
data:
{
confirm:
remove_from_project_team_message
(
@project
,
user
)},
method: :delete
,
class:
"btn-tiny btn btn-remove"
,
title:
'Remove user from team'
do
%i
.fa.fa-minus.fa-inverse
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment