diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-04-30 21:18:27 +0200 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-04-30 21:18:27 +0200 |
commit | 0a63c1d2abdb63366448bb7cbbf2836fa8881f18 (patch) | |
tree | 8c935fd38a626501248c731c19d281ae6ce04c1e /app/views | |
parent | 6fcdd1504e617891c718d567d252181957142bea (diff) | |
download | gitlab-ce-0a63c1d2abdb63366448bb7cbbf2836fa8881f18.tar.gz |
Have tree page title read "Files" for root.
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/projects/tree/show.html.haml | 2 |
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") |