21 lines
653 B
Plaintext
21 lines
653 B
Plaintext
|
<% if @ad_image %>
|
||
|
<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 %>
|