diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-03-26 18:55:22 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-03-26 18:55:22 +0300 |
commit | ff23209aec46c9bb39e21991745493136f04d832 (patch) | |
tree | ed035f252dde6209e768e3442b926e2daa717c4b /app/views/admin | |
parent | a9cfff256ddd3688d95bb45f77b2222f5496d6af (diff) | |
parent | c31d40e358eb778a2c0f8e539a610f7763411db2 (diff) |
Merge pull request #9029 from tsigo/rs-project-admin
Add archived status to Admin > Project page
Diffstat (limited to 'app/views/admin')
-rw-r--r-- | app/views/admin/projects/show.html.haml | 7 |
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| |