50 lines
1.2 KiB
Plaintext
50 lines
1.2 KiB
Plaintext
<ul>
|
|
<li>
|
|
<b><%= t(:category) %></b>
|
|
<%= @bulletin.category.title rescue nil %>
|
|
</li>
|
|
<li>
|
|
<b><%= t(:postdate) %></b>
|
|
<%= display_date_time(@bulletin.postdate) %>
|
|
</li>
|
|
<li>
|
|
<b><%= t(:title) %></b>
|
|
<%= @bulletin.title %>
|
|
</li>
|
|
<li>
|
|
<%#= image_tag(@bulletin.image.url, :size => "320x240") if @bulletin.image.file %>
|
|
<%= link_to image_tag(@bulletin.image.url, :size => "320x240"), @bulletin.image.url, {:target => '_blank', :title => @bulletin.image_identifier} if @bulletin.image.file %>
|
|
</li>
|
|
<li>
|
|
<b><%= t(:subtitle) %></b>
|
|
<%= @bulletin.subtitle.html_safe rescue '' %>
|
|
</li>
|
|
<li>
|
|
<b><%= t(:text) %></b>
|
|
<%= @bulletin.text.html_safe rescue '' %>
|
|
</li>
|
|
<li>
|
|
<li>
|
|
<b><%= t(:link) %></b>
|
|
<% @bulletin.bulletin_links.each do | blink | %>
|
|
<%= link_to blink.title, blink.url, :target => '_blank' %>
|
|
<% end %>
|
|
</li>
|
|
<li>
|
|
<b><%= t(:file) %></b>
|
|
<% @bulletin.bulletin_files.each do | bfile | %>
|
|
<%= link_to bfile.title, bfile.file.url, {:target => '_blank', :title => bfile.description} if bfile.file.file %>
|
|
<% end %>
|
|
</li>
|
|
<li>
|
|
<b><%= t(:posted_by) %></b>
|
|
<%= User.find(@bulletin.create_user_id).name %>
|
|
</li>
|
|
<li>
|
|
<b><%= t(:last_modified) %></b>
|
|
<%= display_date(@bulletin.updated_at) %>
|
|
</li>
|
|
|
|
|
|
<%= link_back %>
|