<% # encoding: utf-8 %>
<h1 class="h1"><%= @news_bulletin.title[I18n.locale] %></h1>
<div class="info">
	<div class="info1">
		<span class="date"><%= @news_bulletin.postdate %></span>
		&nbsp;|&nbsp;
		<a href="" class="unit"><%= @news_bulletin.unit_list_for_anc.title[I18n.locale] rescue '' %></a>
	</div>
</div>
<div class="news_image">
	<%#= image_tag(@news_bulletin.image.url, :size => "320x240") if @news_bulletin.image.file %>
	<%= link_to image_tag(@news_bulletin.image.url, :size => "320x240"), @news_bulletin.image.url, {:target => '_blank', :title => @news_bulletin.image_identifier} if @news_bulletin.image.file %>
</div>
<div class="news_paragraph">
	<%= @news_bulletin.text[I18n.locale].html_safe %>
</div>

<b><%= t('announcement.link') %></b>
<% @news_bulletin.bulletin_links.each do | blink | %>
  <%= link_to blink.i18n_variable[I18n.locale], blink.url, :target => '_blank' %>
<% end %>
</li>
<li>
<b><%= t('announcement.file') %></b>
<% @news_bulletin.bulletin_files.each do | bfile | %>
<%= link_to bfile.filetitle[I18n.locale], bfile.file.url, {:target => '_blank', :title => bfile.description} if bfile.file.file %>
<% end %>

<div class="fb">
	<iframe src="//www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.nccu.edu.tw&amp;send=false&amp;layout=standard&amp;width=450&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;font&amp;height=35&amp;appId=263319013700607" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:35px;" allowTransparency="true"></iframe>
</div>
