summaryrefslogtreecommitdiff
path: root/app/views/projects/tree/show.html.haml
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-04-30 21:18:27 +0200
committerDouwe Maan <douwe@gitlab.com>2015-04-30 21:18:27 +0200
commit0a63c1d2abdb63366448bb7cbbf2836fa8881f18 (patch)
tree8c935fd38a626501248c731c19d281ae6ce04c1e /app/views/projects/tree/show.html.haml
parent6fcdd1504e617891c718d567d252181957142bea (diff)
downloadgitlab-ce-0a63c1d2abdb63366448bb7cbbf2836fa8881f18.tar.gz
Have tree page title read "Files" for root.
Diffstat (limited to 'app/views/projects/tree/show.html.haml')
-rw-r--r--app/views/projects/tree/show.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/tree/show.html.haml b/app/views/projects/tree/show.html.haml
index d0a3f522e28..72916cad182 100644
--- a/app/views/projects/tree/show.html.haml
+++ b/app/views/projects/tree/show.html.haml
@@ -1,4 +1,4 @@
-- page_title @path.presence, @ref
+- page_title @path.presence || "Files", @ref
= 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")