Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Feed icon missed bug fix.

  • Loading branch information...
commit 1e68b729a8c2bbb2dbd059012a47b0dde4953fff 1 parent c8caf05
@huacnlee huacnlee authored
View
BIN  app/assets/images/sprites/icons.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  app/assets/images/sprites/icons/rss.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
16 app/assets/stylesheets/sprites/icons.scss
@@ -0,0 +1,16 @@
+/*
+
+ Creating a sprite from following images:
+
+ app/assets/images/sprites/icons/rss.png (16x16)
+
+ Output files:
+ app/assets/images/sprites/icons.png
+ app/assets/stylesheets/sprites/icons.scss
+
+ Output size:
+ 16x16
+
+
+*/
+.icons_rss { width: 16px; height: 16px; background: url(image-path('sprites/icons.png')) 0px 0px no-repeat; }
View
2  app/views/common/_feeds.html.erb
@@ -2,6 +2,6 @@
<% if mobile? %>
<%= link_to "我要发贴", new_topic_path, :class => "btn success" %>
<% else %>
- <%= link_to(raw("<span class='icon share_icons_rss'></span> Feed"), feed_topics_url, :title => t("topics.subscribe_with_rss", :name => Setting.app_name)) %>
+ <%= link_to(raw("<span class='icon icons_rss'></span> Feed"), feed_topics_url, :title => t("topics.subscribe_with_rss", :name => Setting.app_name)) %>
<% end %>
</div>
Please sign in to comment.
Something went wrong with that request. Please try again.