Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-09-17 13:16:24 +0300
committerDouwe Maan <douwe@gitlab.com>2015-09-17 13:16:24 +0300
commitd89ae7df2cf02198570dddd80dfef60796b017b5 (patch)
tree1028ad42df5de354e9ab3e8472a17d379f10fd53 /app/views/projects/tree
parentf4816372457c3b513f8707efd87ce34c9922177c (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.haml1
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")