summaryrefslogtreecommitdiff
path: root/app/views/groups
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-03-10 12:16:57 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-03-10 12:16:57 +0200
commit473efc82b68dcaac61be55466e423fdbbabde710 (patch)
treebc88aae64def479536e36c2e3fcae8cee93ead31 /app/views/groups
parent8812d9dee2340ba33d1272ed6ea0736c8eb371d0 (diff)
downloadgitlab-ce-473efc82b68dcaac61be55466e423fdbbabde710.tar.gz
Group and team rss is valid now
Diffstat (limited to 'app/views/groups')
-rw-r--r--app/views/groups/show.atom.builder6
-rw-r--r--app/views/groups/show.html.haml10
2 files changed, 8 insertions, 8 deletions
diff --git a/app/views/groups/show.atom.builder b/app/views/groups/show.atom.builder
index 9aa52ea5593..5f2999c3d8e 100644
--- a/app/views/groups/show.atom.builder
+++ b/app/views/groups/show.atom.builder
@@ -1,8 +1,8 @@
xml.instruct!
xml.feed "xmlns" => "http://www.w3.org/2005/Atom", "xmlns:media" => "http://search.yahoo.com/mrss/" do
- xml.title "Dashboard feed#{" - #{current_user.name}" if current_user.name.present?}"
- xml.link :href => projects_url(:atom), :rel => "self", :type => "application/atom+xml"
- xml.link :href => projects_url, :rel => "alternate", :type => "text/html"
+ xml.title "Group feed - #{@group.name}"
+ xml.link :href => group_path(@group, :atom), :rel => "self", :type => "application/atom+xml"
+ xml.link :href => group_path(@group), :rel => "alternate", :type => "text/html"
xml.id projects_url
xml.updated @events.maximum(:updated_at).strftime("%Y-%m-%dT%H:%M:%SZ") if @events.any?
diff --git a/app/views/groups/show.html.haml b/app/views/groups/show.html.haml
index 81694b88cc4..adf249f656a 100644
--- a/app/views/groups/show.html.haml
+++ b/app/views/groups/show.html.haml
@@ -16,11 +16,11 @@
.description.well.light
= @group.description
= render "projects", projects: @projects
- %div
- %span.rss-icon
- = link_to dashboard_path(:atom, { private_token: current_user.private_token }) do
- = image_tag "rss_ui.png", title: "feed"
- %strong News Feed
+ .prepend-top-20
+ = link_to group_path(@group, { format: :atom, private_token: current_user.private_token }), title: "Feed" do
+ %strong
+ %i.icon-rss
+ News Feed
%hr
.gitlab-promo