diff options
author | Winnie Hellmann <winnie@gitlab.com> | 2018-07-23 17:58:21 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2018-07-23 17:58:21 +0300 |
commit | 91bbdc907d72fa5bd6d30ded825c2b90dd59d28e (patch) | |
tree | 46ca1c8c4919b3ff3b8241c57bb301952a888267 /app/views/projects/tree | |
parent | 1a959e1bf4269b3c74cb317d18bcc624436aabc5 (diff) |
Display GPG status on repository and blob pages
Diffstat (limited to 'app/views/projects/tree')
-rw-r--r-- | app/views/projects/tree/show.html.haml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/projects/tree/show.html.haml b/app/views/projects/tree/show.html.haml index 3b4057e56d0..ace8120eeff 100644 --- a/app/views/projects/tree/show.html.haml +++ b/app/views/projects/tree/show.html.haml @@ -1,11 +1,14 @@ - @no_container = true - breadcrumb_title _("Repository") - @content_class = "limit-container-width" unless fluid_layout +- signatures_path = namespace_project_signatures_path(namespace_id: @project.namespace.path, project_id: @project.path, id: @ref) - page_title @path.presence || _("Files"), @ref = content_for :meta_tags do = auto_discovery_link_tag(:atom, project_commits_url(@project, @ref, rss_url_options), title: "#{@project.name}:#{@ref} commits") +.js-signature-container{ data: { 'signatures-path': signatures_path } } + %div{ class: [(container_class), ("limit-container-width" unless fluid_layout)] } = render 'projects/last_push' = render 'projects/files', commit: @last_commit, project: @project, ref: @ref, content_url: project_tree_path(@project, @id) |