2012-04-13 08:52:14 +00:00
|
|
|
<li class="span3">
|
2012-04-13 08:14:43 +00:00
|
|
|
<%= image_tag ad_image.file rescue nil%>
|
2012-04-01 15:39:49 +00:00
|
|
|
<p>
|
2012-09-12 11:12:50 +00:00
|
|
|
<%= ad_image.display? ? "[#{t('ad.showing')}]" : "[#{t('ad.not_showing')}]" %>
|
2013-01-09 11:08:25 +00:00
|
|
|
<%= "#{ad_image.post_date} ~ #{ad_image.unpost_date}" %>
|
2012-04-01 15:39:49 +00:00
|
|
|
</p>
|
2012-05-15 08:39:23 +00:00
|
|
|
<%if at_least_module_manager || sub_manager?(ad_image.ad_banner) %>
|
|
|
|
<p>
|
|
|
|
<%= link_to t('edit'),edit_admin_ad_banner_ad_image_path(ad_banner,ad_image),:class => 'btn btn-primary' %>
|
2012-11-27 03:15:15 +00:00
|
|
|
<%= link_to t(:delete_),admin_ad_banner_ad_image_path(ad_banner,ad_image),:class => 'btn',:method => :delete,:confirm => t('sure?') %>
|
2012-05-15 08:39:23 +00:00
|
|
|
</p>
|
|
|
|
<% end -%>
|
2012-04-23 18:37:51 +00:00
|
|
|
</li>
|