Pārlūkot izejas kodu

Don't show icon if icon_url is blank

master
Adrian Short pirms 11 gadiem
vecāks
revīzija
23e360d809
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      app/views/layers/show.html.haml

+ 1
- 1
app/views/layers/show.html.haml Parādīt failu

@@ -42,7 +42,7 @@
%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?
- unless s.icon_url.blank?
= image_tag s.icon_url
- else
 


Notiek ielāde…
Atcelt
Saglabāt