diff options
author | Winnie Hellmann <winnie@gitlab.com> | 2018-07-23 14:58:21 +0000 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2018-07-23 14:58:21 +0000 |
commit | 91bbdc907d72fa5bd6d30ded825c2b90dd59d28e (patch) | |
tree | 46ca1c8c4919b3ff3b8241c57bb301952a888267 /app/views/projects/show.html.haml | |
parent | 1a959e1bf4269b3c74cb317d18bcc624436aabc5 (diff) | |
download | gitlab-ce-91bbdc907d72fa5bd6d30ded825c2b90dd59d28e.tar.gz |
Display GPG status on repository and blob pages
Diffstat (limited to 'app/views/projects/show.html.haml')
-rw-r--r-- | app/views/projects/show.html.haml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/projects/show.html.haml b/app/views/projects/show.html.haml index e28accd5b43..803ecca48f7 100644 --- a/app/views/projects/show.html.haml +++ b/app/views/projects/show.html.haml @@ -8,6 +8,10 @@ = render partial: 'flash_messages', locals: { project: @project } +- if @project.repository_exists? && !@project.empty_repo? + - signatures_path = namespace_project_signatures_path(project_id: @project.path, id: @project.default_branch) + .js-signature-container{ data: { 'signatures-path': signatures_path } } + %div{ class: [container_class, ("limit-container-width" unless fluid_layout)] } = render "projects/last_push" |