Commit e36907e3c891e04388f2dbb31bbaffffcb25d7c9
Exists in
master
and in
29 other branches
Merge branch 'rss-icon' into noosfero
Showing
3 changed files
with
4 additions
and
4 deletions
Show diff stats
app/views/content_viewer/_article_toolbar.html.erb
@@ -62,7 +62,7 @@ | @@ -62,7 +62,7 @@ | ||
62 | <% if @page.blog? and !@page.image.nil? %> | 62 | <% if @page.blog? and !@page.image.nil? %> |
63 | <div class="blog-cover"><%= image_tag(@page.image.public_filename())%></div> | 63 | <div class="blog-cover"><%= image_tag(@page.image.public_filename())%></div> |
64 | <% end %> | 64 | <% end %> |
65 | - <%= link_to(image_tag('/images/icons-mime/rss-feed.png'), @page.feed.url, :class => 'blog-feed-link') if @page.has_posts? && @page.feed %> | 65 | + <%= button_without_text(:feed, _('RSS feed'), @page.feed.url, :class => 'blog-feed-link') if @page.has_posts? && @page.feed %> |
66 | <%= @plugins.dispatch(:article_header_extra_contents, @page).collect { |content| instance_exec(&content) }.join("") %> | 66 | <%= @plugins.dispatch(:article_header_extra_contents, @page).collect { |content| instance_exec(&content) }.join("") %> |
67 | <%= render :partial => 'article_title', :locals => {:no_link => true} %> | 67 | <%= render :partial => 'article_title', :locals => {:no_link => true} %> |
68 | <%= article_translations(@page) %> | 68 | <%= article_translations(@page) %> |
public/designs/icons/tango/style.css
@@ -117,6 +117,9 @@ | @@ -117,6 +117,9 @@ | ||
117 | .icon-reset-admin-role { background-image: url(../../../images/icons-app/person-icon.png) } | 117 | .icon-reset-admin-role { background-image: url(../../../images/icons-app/person-icon.png) } |
118 | .icon-clock { background-image: url(Tango/16x16/actions/appointment.png) } | 118 | .icon-clock { background-image: url(Tango/16x16/actions/appointment.png) } |
119 | .icon-fullscreen { background-image: url(Tango/16x16/actions/view-fullscreen.png) } | 119 | .icon-fullscreen { background-image: url(Tango/16x16/actions/view-fullscreen.png) } |
120 | +.icon-feed, | ||
121 | +.icon-newrss-feed, | ||
122 | +.icon-rss-feed { background-image: url(../../../images/icons-mime/rss-feed-16.png) } | ||
120 | 123 | ||
121 | /******************BIG ICONS************************/ | 124 | /******************BIG ICONS************************/ |
122 | .bigicon-embed { background-image: url(Tango/scalable/apps/utilities-terminal.svg) } | 125 | .bigicon-embed { background-image: url(Tango/scalable/apps/utilities-terminal.svg) } |
public/stylesheets/application.css
@@ -3485,9 +3485,6 @@ table.cms-articles .icon:hover { | @@ -3485,9 +3485,6 @@ table.cms-articles .icon:hover { | ||
3485 | color: #888a85; | 3485 | color: #888a85; |
3486 | font-size: smaller; | 3486 | font-size: smaller; |
3487 | } | 3487 | } |
3488 | -.article-types .icon-newrss-feed, #content .icon-rss-feed { | ||
3489 | - background-image: url(../images/icons-mime/rss-feed-16.png); | ||
3490 | -} | ||
3491 | .article-types a { | 3488 | .article-types a { |
3492 | text-decoration: none; | 3489 | text-decoration: none; |
3493 | color: black; | 3490 | color: black; |