Browse Source

Show custom icons per feed

master
Adrian Short 11 years ago
parent
commit
3edc101956
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      app/views/layers/show.html.haml

+ 5
- 1
app/views/layers/show.html.haml View File

@@ -41,7 +41,11 @@
%td= link_to 'Edit', edit_feed_path(s.feed), :class => "button" %td= link_to 'Edit', edit_feed_path(s.feed), :class => "button"
%td= link_to 'Delete', s, :confirm => "Delete #{s.feed.title}?", :method => :delete, :class => "button" %td= link_to 'Delete', s, :confirm => "Delete #{s.feed.title}?", :method => :delete, :class => "button"
%td= link_to 'Edit icon', edit_subscription_path(s), :class => "button" %td= link_to 'Edit icon', edit_subscription_path(s), :class => "button"

%td
- unless s.icon_url.nil?
= image_tag s.icon_url
- else
 
%tr %tr
%td %td
%td.right= @layer_posts %td.right= @layer_posts


Loading…
Cancel
Save