<% # encoding: utf-8 %>

<%= @bulletin.title %>

<%= dislpay_view_count(@bulletin) %> <%= display_date_time(@bulletin.postdate) %> <% unit = @bulletin.cache_dept[I18n.locale.to_s] rescue nil %> <%= link_to unit,panel_announcement_front_end_index_bulletins_by_unit_path(:name=>unit) unless unit.blank? %>
<%= @bulletin.text.html_safe rescue '' %>
<% if @bulletin.bulletin_links.size > 0 %>
<% end %> <% if @bulletin.bulletin_files.size > 0 %>
<% @bulletin.bulletin_files.each do | bfile | %> <%= link_to bfile.title, bfile.file.url, {:target => '_blank', :title => bfile.description} if bfile.file.file %> <% end %>
<% end %> <% unless @bulletin.rss_link.blank? %>
<%= link_to t('ntu.rss_origin'), @bulletin.rss_link %>
<% end %>
<%= share_links(@bulletin, 'announcement') %>