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
e9d8d074
Commit
e9d8d074
authored
Feb 18, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no projects message in group area
parent
655e68a0
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
32 additions
and
17 deletions
+32
-17
app/views/groups/_filter.html.haml
app/views/groups/_filter.html.haml
+2
-0
app/views/groups/_people_filter.html.haml
app/views/groups/_people_filter.html.haml
+2
-0
app/views/groups/edit.html.haml
app/views/groups/edit.html.haml
+2
-0
app/views/teams/edit.html.haml
app/views/teams/edit.html.haml
+26
-17
No files found.
app/views/groups/_filter.html.haml
View file @
e9d8d074
...
...
@@ -26,6 +26,8 @@
=
link_to
group_filter_path
(
entity
,
project_id:
project
.
id
)
do
=
project
.
name_with_namespace
%small
.pull-right
=
entities_per_project
(
project
,
entity
)
-
if
@projects
.
blank?
%p
.nothing_here_message
This group has no projects yet
%fieldset
%hr
...
...
app/views/groups/_people_filter.html.haml
View file @
e9d8d074
...
...
@@ -7,6 +7,8 @@
=
link_to
people_group_path
(
@group
,
project_id:
project
.
id
)
do
=
project
.
name_with_namespace
%small
.pull-right
=
project
.
users
.
count
-
if
@projects
.
blank?
%p
.nothing_here_message
This group has no projects yet
%fieldset
%hr
...
...
app/views/groups/edit.html.haml
View file @
e9d8d074
...
...
@@ -30,6 +30,8 @@
=
link_to
'Team'
,
project_team_index_path
(
project
),
id:
"edit_
#{
dom_id
(
project
)
}
"
,
class:
"btn btn-small"
=
link_to
'Edit'
,
edit_project_path
(
project
),
id:
"edit_
#{
dom_id
(
project
)
}
"
,
class:
"btn btn-small"
=
link_to
'Remove'
,
project
,
confirm:
"REMOVE
#{
project
.
name
}
? Are you sure?"
,
method: :delete
,
class:
"btn btn-small btn-remove"
-
if
@group
.
projects
.
blank?
%p
.nothing_here_message
This group has no projects yet
.span5
.ui-box
...
...
app/views/teams/edit.html.haml
View file @
e9d8d074
%h3
.page_title
=
"Edit Team
#{
@team
.
name
}
"
%hr
=
form_for
@team
,
url:
team_path
(
@team
)
do
|
f
|
.row
.span7
=
form_for
@team
,
url:
team_path
(
@team
)
do
|
f
|
-
if
@team
.
errors
.
any?
.alert.alert-error
%span
=
@team
.
errors
.
full_messages
.
first
...
...
@@ -8,13 +10,20 @@
=
f
.
label
:name
do
Team name is
.input
=
f
.
text_field
:name
,
placeholder:
"Ex. OpenSource"
,
class:
"x
xlarge left"
=
f
.
text_field
:name
,
placeholder:
"Ex. OpenSource"
,
class:
"
xlarge left"
.clearfix
=
f
.
label
:path
do
Team path is
.input
=
f
.
text_field
:path
,
placeholder:
"opensource"
,
class:
"x
xlarge left"
=
f
.
text_field
:path
,
placeholder:
"opensource"
,
class:
"
xlarge left"
.form-actions
=
f
.
submit
'Save team changes'
,
class:
"btn btn-primary"
=
link_to
'Delete team'
,
team_path
(
@team
),
method: :delete
,
confirm:
"You are shure?"
,
class:
"btn btn-remove pull-right"
=
f
.
submit
'Save team changes'
,
class:
"btn btn-save"
.span5
.ui-box
%h5
.title
Remove team
.padded.bgred
%p
Removed team can not be restored!
=
link_to
'Remove team'
,
team_path
(
@team
),
method: :delete
,
confirm:
"You are sure?"
,
class:
"btn btn-remove btn-small"
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