From 3edc10195622a63d50bbd12cc29e48f0eb153e0a Mon Sep 17 00:00:00 2001 From: Adrian Short Date: Thu, 11 Apr 2013 12:58:53 +0100 Subject: [PATCH] Show custom icons per feed --- app/views/layers/show.html.haml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/views/layers/show.html.haml b/app/views/layers/show.html.haml index 0b21d10..f214047 100644 --- a/app/views/layers/show.html.haml +++ b/app/views/layers/show.html.haml @@ -41,7 +41,11 @@ %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 'Edit icon', edit_subscription_path(s), :class => "button" - + %td + - unless s.icon_url.nil? + = image_tag s.icon_url + - else +   %tr %td %td.right= @layer_posts