summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-03-26 08:55:22 -0700
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-03-26 08:55:22 -0700
commitff23209aec46c9bb39e21991745493136f04d832 (patch)
treeed035f252dde6209e768e3442b926e2daa717c4b
parenta9cfff256ddd3688d95bb45f77b2222f5496d6af (diff)
parentc31d40e358eb778a2c0f8e539a610f7763411db2 (diff)
downloadgitlab-ce-ff23209aec46c9bb39e21991745493136f04d832.tar.gz
Merge pull request #9029 from tsigo/rs-project-admin
Add archived status to Admin > Project page
-rw-r--r--app/views/admin/projects/show.html.haml7
1 files changed, 6 insertions, 1 deletions
diff --git a/app/views/admin/projects/show.html.haml b/app/views/admin/projects/show.html.haml
index 077ee569085..05372f4124f 100644
--- a/app/views/admin/projects/show.html.haml
+++ b/app/views/admin/projects/show.html.haml
@@ -68,6 +68,11 @@
%strong.cred
does not exist
+ - if @project.archived?
+ %li
+ %span.light archived:
+ %strong repository is read-only
+
%li
%span.light access:
%strong
@@ -97,7 +102,7 @@
%strong #{@group.name}
group members (#{@group.group_members.count})
.pull-right
- = link_to admin_group_path(@group), class: 'btn btn-sm' do
+ = link_to admin_group_path(@group), class: 'btn btn-xs' do
%i.fa.fa-pencil-square-o
%ul.well-list
- @group_members.each do |member|