summaryrefslogtreecommitdiff
path: root/app/views/shared/projects
diff options
context:
space:
mode:
authorDrew Blessing <drew@gitlab.com>2016-08-12 15:55:53 -0500
committerDrew Blessing <drew@gitlab.com>2016-08-12 16:39:59 -0500
commit60858c3d8e5118b5ef6958cf681ba6ae3e141b5c (patch)
treed26dd30faa5d6e25dc5e800f806960ff98fbd0ea /app/views/shared/projects
parent11eefba891f214eefc1efa334adbcc9e979c0ce3 (diff)
downloadgitlab-ce-60858c3d8e5118b5ef6958cf681ba6ae3e141b5c.tar.gz
Add archived badge to project listing
Diffstat (limited to 'app/views/shared/projects')
-rw-r--r--app/views/shared/projects/_project.html.haml2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/shared/projects/_project.html.haml b/app/views/shared/projects/_project.html.haml
index 92803838d02..281ec728e41 100644
--- a/app/views/shared/projects/_project.html.haml
+++ b/app/views/shared/projects/_project.html.haml
@@ -12,6 +12,8 @@
%li.project-row{ class: css_class }
= cache(cache_key) do
.controls
+ - if project.archived
+ %span.label.label-warning archived
- if project.commit.try(:status)
%span
= render_commit_status(project.commit)