Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
heptapod
heptapod
Commits
5b624caa2af4
Commit
10d2281d
authored
Aug 10, 2015
by
Artem Sidorenko
Browse files
Show label on archived projects
parent
3ddfde08e7e5
Changes
2
Hide whitespace changes
Inline
Side-by-side
app/views/admin/projects/index.html.haml
View file @
5b624caa
...
...
@@ -77,6 +77,8 @@
=
visibility_level_icon
(
project
.
visibility_level
)
=
link_to
project
.
name_with_namespace
,
[
:admin
,
project
.
namespace
.
becomes
(
Namespace
),
project
]
.pull-right
-
if
project
.
archived
%span
.label.label-warning
archived
%span
.label.label-gray
=
repository_size
(
project
)
=
link_to
'Edit'
,
edit_namespace_project_path
(
project
.
namespace
,
project
),
id:
"edit_
#{
dom_id
(
project
)
}
"
,
class:
"btn btn-sm"
...
...
app/views/groups/projects.html.haml
View file @
5b624caa
...
...
@@ -14,9 +14,11 @@
.list-item-name
=
visibility_level_icon
(
project
.
visibility_level
)
%strong
=
link_to
project
.
name_with_namespace
,
project
.pull-right
-
if
project
.
archived
%span
.label.label-warning
archived
%span
.label.label-gray
=
repository_size
(
project
)
.pull-right
=
link_to
'Members'
,
namespace_project_project_members_path
(
project
.
namespace
,
project
),
id:
"edit_
#{
dom_id
(
project
)
}
"
,
class:
"btn btn-sm"
=
link_to
'Edit'
,
edit_namespace_project_path
(
project
.
namespace
,
project
),
id:
"edit_
#{
dom_id
(
project
)
}
"
,
class:
"btn btn-sm"
=
link_to
'Remove'
,
project
,
data:
{
confirm:
remove_project_message
(
project
)},
method: :delete
,
class:
"btn btn-sm btn-remove"
...
...
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