<% unless @ad_banner.nil? %>
<% @ad_banner.ad_images.can_display.each do |image| %> <%= image_tag image.file.url, width: @ad_banner.width, height: @ad_banner.height %> <% end %>
<% end %>
<% @bulletins.each do |bulletin| %>
<%= image_tag bulletin.image.url %>

<%= link_to bulletin.title, mobile_announcement_content_path(:app => params[:app], :id => bulletin) %>

<%= display_date(bulletin.postdate) %>

<%= bulletin.subtitle %>
<% end %>
<% unless @ad_banner.nil? %> <% end %>