diff options
| author | Douwe Maan <douwe@gitlab.com> | 2015-04-21 16:31:40 +0200 |
|---|---|---|
| committer | Douwe Maan <douwe@gitlab.com> | 2015-04-23 17:11:38 +0200 |
| commit | 8917ae39e3f2a75833908413bac209373cb013eb (patch) | |
| tree | 016bad6191ce801c3e7cb3092bf604b3fdc94ca7 /app/views/dashboard | |
| parent | 27289599e2e53bb27b897069c18b169fd3cb4cea (diff) | |
| download | gitlab-ce-8917ae39e3f2a75833908413bac209373cb013eb.tar.gz | |
Add atom link tag to every page that has one.
Diffstat (limited to 'app/views/dashboard')
| -rw-r--r-- | app/views/dashboard/issues.html.haml | 4 | ||||
| -rw-r--r-- | app/views/dashboard/show.html.haml | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/app/views/dashboard/issues.html.haml b/app/views/dashboard/issues.html.haml index db19a46cb26..79e518f5f38 100644 --- a/app/views/dashboard/issues.html.haml +++ b/app/views/dashboard/issues.html.haml @@ -1,3 +1,7 @@ += content_for :meta_tags do + - if current_user + = auto_discovery_link_tag(:atom, issues_dashboard_url(format: :atom, private_token: current_user.private_token), title: "#{current_user.name} issues") + %h3.page-title Issues diff --git a/app/views/dashboard/show.html.haml b/app/views/dashboard/show.html.haml index fa8946011b7..2754a4894da 100644 --- a/app/views/dashboard/show.html.haml +++ b/app/views/dashboard/show.html.haml @@ -1,3 +1,7 @@ += content_for :meta_tags do + - if current_user + = auto_discovery_link_tag(:atom, dashboard_url(format: :atom, private_token: current_user.private_token), title: "All activity") + - if @projects.any? .dashboard.row %section.activities.col-md-8 |
