[noosfero/noosfero][master] Fix rss icon

Victor Costa gitlab at gitlab.com
Mon Jun 8 11:03:22 BRT 2015


Victor Costa pushed to branch master at Noosfero / noosfero


Commits:
85cd639c by Victor Costa at 2015-06-08T10:46:15Z
Fix rss icon

- - - - -


2 changed files:

- app/views/content_viewer/_article_toolbar.html.erb
- app/views/profile/content_tagged.html.erb


Changes:

=====================================
app/views/content_viewer/_article_toolbar.html.erb
=====================================
--- a/app/views/content_viewer/_article_toolbar.html.erb
+++ b/app/views/content_viewer/_article_toolbar.html.erb
@@ -62,7 +62,7 @@
     <% if @page.blog? and !@page.image.nil? %>
       <div class="blog-cover"><%= image_tag(@page.image.public_filename())%></div>
     <% end %>
-    <%= link_to(image_tag('icons-mime/rss-feed.png'), @page.feed.url, :class => 'blog-feed-link') if @page.has_posts? && @page.feed %>
+    <%= link_to(image_tag('/images/icons-mime/rss-feed.png'), @page.feed.url, :class => 'blog-feed-link') if @page.has_posts? && @page.feed %>
     <%= @plugins.dispatch(:article_header_extra_contents, @page).collect { |content| instance_exec(&content) }.join("") %>
     <%= article_title(@page, :no_link => true) %>
     <%= article_translations(@page) %>


=====================================
app/views/profile/content_tagged.html.erb
=====================================
--- a/app/views/profile/content_tagged.html.erb
+++ b/app/views/profile/content_tagged.html.erb
@@ -5,7 +5,7 @@
 <h1><%= _('Content tagged with "%s"') % escaped_tag %></h1>
 
 <p>
-<%= link_to image_tag('icons-mime/rss-feed.png', :alt => _('Feed for this tag'), :title => _('Feed for this tag')), tag_feed_path, :class => 'blog-feed-link'%>
+<%= link_to image_tag('/images/icons-mime/rss-feed.png', :alt => _('Feed for this tag'), :title => _('Feed for this tag')), tag_feed_path, :class => 'blog-feed-link'%>
 </p>
 
 <% cache_timeout(@tag_cache_key, 4.hour) do %>



View it on GitLab: https://gitlab.com/noosfero/noosfero/commit/85cd639cb8a1cad4217769cc308487caae0f4586
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20150608/ea5fbcd2/attachment.html>


More information about the Noosfero-dev mailing list