<%= dislpay_view_count(@bulletin) %>
<%= display_date_time(@bulletin.postdate) %>
<%
unit_field = User.get_member_list_attribute_field("staff","Unit")
unit = User.get_member_list_attribute_value(@bulletin.create_user_id,unit_field.id).get_value_by_locale(I18n.locale) rescue nil
%>
<%= t('announcement.default_widget.bulletin_create_dept') + ": " + unit unless unit.blank? %>
<% if @bulletin.bulletin_links.size > 0 %>
<% @bulletin.bulletin_links.each do | blink | %>
<%= link_to blink.title, blink.url, :target => '_blank' %>
<% end %>
<% 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 %>
<%= share_links(@bulletin, 'announcement') %>