diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-09-03 22:53:55 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-09-03 22:53:55 +0300 |
commit | 0145e8ea210b2c0e1fac204126bf460063d1e17f (patch) | |
tree | fea8ea51fff7c1b8ba64d9f91a4760face03280e /app/views/dashboard/show.html.haml | |
parent | b008273883ac4c73652e73b418ffece2848fe40b (diff) |
Set page title based on content in dashboard area
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/views/dashboard/show.html.haml')
-rw-r--r-- | app/views/dashboard/show.html.haml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/dashboard/show.html.haml b/app/views/dashboard/show.html.haml index 4cf2feb9aa6..1d5324e0d72 100644 --- a/app/views/dashboard/show.html.haml +++ b/app/views/dashboard/show.html.haml @@ -2,6 +2,7 @@ - if current_user = auto_discovery_link_tag(:atom, dashboard_url(format: :atom, private_token: current_user.private_token), title: "All activity") +- header_title "Projects", (current_user ? root_path : explore_root_path) = render 'dashboard/projects_head' - if @last_push |