summaryrefslogtreecommitdiff
path: root/app/views/admin/projects/index.html.haml
diff options
context:
space:
mode:
authorArtem Sidorenko <artem.sidorenko@telekom.de>2015-08-10 19:42:17 +0200
committerArtem Sidorenko <artem.sidorenko@telekom.de>2015-08-19 13:47:03 +0200
commit10d2281d73536d6c38cd5613630433b1ecfc5632 (patch)
tree713fe014b703544f667949287b9f88af15b1e9a6 /app/views/admin/projects/index.html.haml
parent3ebbed25f0538f170fdf64a3ca34bc1d34b4836b (diff)
downloadgitlab-ce-10d2281d73536d6c38cd5613630433b1ecfc5632.tar.gz
Show label on archived projects
Diffstat (limited to 'app/views/admin/projects/index.html.haml')
-rw-r--r--app/views/admin/projects/index.html.haml2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/admin/projects/index.html.haml b/app/views/admin/projects/index.html.haml
index e8aefbda25b..d9b481404f7 100644
--- a/app/views/admin/projects/index.html.haml
+++ b/app/views/admin/projects/index.html.haml
@@ -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"