diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-09-17 13:16:24 +0300 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-09-17 13:16:24 +0300 |
commit | d89ae7df2cf02198570dddd80dfef60796b017b5 (patch) | |
tree | 1028ad42df5de354e9ab3e8472a17d379f10fd53 /app/views/projects/tree | |
parent | f4816372457c3b513f8707efd87ce34c9922177c (diff) |
Move project header title definition to view in question.
Diffstat (limited to 'app/views/projects/tree')
-rw-r--r-- | app/views/projects/tree/show.html.haml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/projects/tree/show.html.haml b/app/views/projects/tree/show.html.haml index c9e59428e78..dec4677f830 100644 --- a/app/views/projects/tree/show.html.haml +++ b/app/views/projects/tree/show.html.haml @@ -1,4 +1,5 @@ - page_title @path.presence || "Files", @ref +- header_title project_title(@project, "Files", project_files_path(@project)) = content_for :meta_tags do - if current_user = auto_discovery_link_tag(:atom, namespace_project_commits_url(@project.namespace, @project, @ref, format: :atom, private_token: current_user.private_token), title: "#{@project.name}:#{@ref} commits") |