Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtem Sidorenko <artem.sidorenko@telekom.de>2015-08-10 20:42:17 +0300
committerArtem Sidorenko <artem.sidorenko@telekom.de>2015-08-19 14:47:03 +0300
commit10d2281d73536d6c38cd5613630433b1ecfc5632 (patch)
tree713fe014b703544f667949287b9f88af15b1e9a6 /app/views/groups/projects.html.haml
parent3ebbed25f0538f170fdf64a3ca34bc1d34b4836b (diff)
Show label on archived projects
Diffstat (limited to 'app/views/groups/projects.html.haml')
-rw-r--r--app/views/groups/projects.html.haml4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/groups/projects.html.haml b/app/views/groups/projects.html.haml
index 6b7efa83dea..bf44e75e7c1 100644
--- a/app/views/groups/projects.html.haml
+++ b/app/views/groups/projects.html.haml
@@ -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"