diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-04-21 17:31:40 +0300 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-04-23 18:11:38 +0300 |
commit | 8917ae39e3f2a75833908413bac209373cb013eb (patch) | |
tree | 016bad6191ce801c3e7cb3092bf604b3fdc94ca7 /app/views/groups | |
parent | 27289599e2e53bb27b897069c18b169fd3cb4cea (diff) |
Add atom link tag to every page that has one.
Diffstat (limited to 'app/views/groups')
-rw-r--r-- | app/views/groups/issues.html.haml | 4 | ||||
-rw-r--r-- | app/views/groups/show.html.haml | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/app/views/groups/issues.html.haml b/app/views/groups/issues.html.haml index 6c0d89c4e7c..bfdb862a2e9 100644 --- a/app/views/groups/issues.html.haml +++ b/app/views/groups/issues.html.haml @@ -1,3 +1,7 @@ += content_for :meta_tags do + - if current_user + = auto_discovery_link_tag(:atom, issues_group_url(@group, format: :atom, private_token: current_user.private_token), title: "#{@group.name} issues") + %h3.page-title Issues diff --git a/app/views/groups/show.html.haml b/app/views/groups/show.html.haml index 8df9366ecbe..75a7f071c13 100644 --- a/app/views/groups/show.html.haml +++ b/app/views/groups/show.html.haml @@ -1,3 +1,7 @@ += content_for :meta_tags do + - if current_user + = auto_discovery_link_tag(:atom, group_url(@group, format: :atom, private_token: current_user.private_token), title: "#{@group.name} activity") + .dashboard .header-with-avatar.clearfix = image_tag group_icon(@group), class: "avatar group-avatar s90" |