diff options
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/layouts/default.rhtml | 6 | ||||
-rw-r--r-- | app/views/track/_tracking_people_and_link.rhtml | 10 |
2 files changed, 11 insertions, 5 deletions
diff --git a/app/views/layouts/default.rhtml b/app/views/layouts/default.rhtml index 564903f0d..3f7f15dc4 100644 --- a/app/views/layouts/default.rhtml +++ b/app/views/layouts/default.rhtml @@ -16,6 +16,12 @@ %> <%= stylesheet_link_tag 'yucky-green', :title => "Yucky Green", :rel => yucky ? "stylesheet" : "alternate stylesheet" %> <%= stylesheet_link_tag 'main', :title => "Main", :rel => yucky ? "alternate stylesheet" : "stylesheet" %> + + <% if @feed_autodetect %> + <% for feed in @feed_autodetect %> + <link rel="alternate" type="application/atom+xml" title="<%=h feed[:title] %>" href="<%=h feed[:url]%>"> + <% end %> + <% end %> </head> <body> <div id="banner"> diff --git a/app/views/track/_tracking_people_and_link.rhtml b/app/views/track/_tracking_people_and_link.rhtml index fb59ca85c..3c8953336 100644 --- a/app/views/track/_tracking_people_and_link.rhtml +++ b/app/views/track/_tracking_people_and_link.rhtml @@ -22,10 +22,10 @@ <% if own_request %> <p>You will be emailed when there are updates to your own request.</p> <p>You may also <%= link_to "get an RSS feed", do_track_url(track_thing) %> - <img src="/images/feed-14.png" alt="" class="rss"></p> + <img src="/images/feed-16.png" alt="" class="rss"></p> <% else %> <%= link_to track_thing.params[:verb_on_page], do_track_url(track_thing) %> - (by email or RSS feed <img src="/images/feed-14.png" alt="" class="rss">) + (by email or RSS feed <img src="/images/feed-16.png" alt="" class="rss">) <% end %> <% end %> </p> @@ -33,13 +33,13 @@ <% if own_request %> <p>You will be emailed when there are updates to your own request.</p> <p>You may also get an <%= link_to 'RSS feed', do_track_url(track_thing) %> - <img src="/images/feed-14.png" alt="" class="rss"></p> + <img src="/images/feed-16.png" alt="" class="rss"></p> <% else %> <p>Be the first to <%= link_to MySociety::Format.lcfirst(track_thing.params[:verb_on_page]), do_track_url(track_thing) %> - (by email or RSS feed <img src="/images/feed-14.png" alt="" class="rss">)</p> + (by email or RSS feed <img src="/images/feed-16.png" alt="" class="rss">)</p> <% end %> <% end %> -<!-- <p><%= link_to '<img src="/images/feed-14.png" alt="" class="rss"> RSS feed', do_track_url(track_thing, 'feed') %></p> --> +<div class="feed_link"><%= link_to '<img src="/images/feed-16.png" alt="" class="rss">', do_track_url(track_thing, 'feed') %> <%= link_to 'RSS feed', do_track_url(track_thing, 'feed') %></div> |