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.
orbit-4-1/app/views/front/show_inner_ad_image.html.erb

21 lines
653 B
Plaintext
Raw Permalink Normal View History

2013-10-18 07:25:19 +00:00
<% if @ad_image %>
2013-01-09 08:54:33 +00:00
<h1 class="h1"><%= @ad_image.title %></h1>
<div class="info">
<div class="info1">
<span class="date"><%= display_date_time(@ad_image.post_date) %></span>
</div>
</div>
<div class="news_image">
<%#= image_tag(@ad_image.image.url, :size => "320x240") if @ad_image.image.file %>
<%= link_to image_tag(@ad_image.file.url, :size => "320x240"), @ad_image.file.url, {:target => '_blank', :title => @ad_image.title} if @ad_image.file.file %>
</div>
<div class="news_paragraph">
<%= @ad_image.context.html_safe rescue '' %>
</div>
<%#= share_links(@ad_image, 'ad_image') %>
<% else %>
<% end %>