This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
2012-12-19 19:21:50 +00:00
|
|
|
<div class="slideshow">
|
2013-01-11 10:34:20 +00:00
|
|
|
<% @ad_banner.ad_images.shuffle.each do |image| %>
|
|
|
|
<% if image.display? %>
|
|
|
|
<div class="slidebanner"><%= image_tag image.file.url, :class => 'slideImg' %></div>
|
|
|
|
<% end %>
|
2012-12-19 19:21:50 +00:00
|
|
|
<% end %>
|
|
|
|
</div>
|
|
|
|
<div class="newlist clear">
|
|
|
|
<% @bulletins.each do |bulletin| %>
|
|
|
|
<div class="newitem">
|
|
|
|
<div class="newpic">
|
|
|
|
<%= image_tag bulletin.image.url %>
|
|
|
|
</div>
|
|
|
|
<h3 class="newstitle">
|
2013-01-16 00:14:42 +00:00
|
|
|
<%= link_to bulletin.title, mobile_announcement_content_path(:app => params[:app], :id => bulletin) %>
|
2012-12-19 19:21:50 +00:00
|
|
|
</h3>
|
|
|
|
<p class="newsDate"><%= display_date(bulletin.postdate) %></p>
|
|
|
|
<div class="newsummary"><%= bulletin.subtitle %></div>
|
|
|
|
</div>
|
|
|
|
<% end %>
|
2013-01-11 10:34:20 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<script type='text/javascript'>
|
|
|
|
var $effect = "<%= @ad_banner.ad_fx.nil? ? 'fade': @ad_banner.ad_fx %>"
|
|
|
|
var $timeout = "<%= @ad_banner.transition_msec %>"
|
2012-12-19 19:21:50 +00:00
|
|
|
</script>
|