<% # encoding: utf-8 %>
<h1 class="h1"><%= @bulletin.title[I18n.locale] %></h1>
<div class="info">
	<div class="info1">
		<span class="date"><%= @bulletin.postdate %></span>
		&nbsp;|&nbsp;
		<a href="" class="unit"><%= User.find(@bulletin.create_user_id).name %></a>
	</div>
</div>
<div class="news_image">
	<%#= 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 %>
</div>
<div class="news_paragraph">
	<%= @bulletin.text[I18n.locale].html_safe %>
</div>
<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>
<!--
<p id="notice"><%= flash_messages %></p>

<ul>
	<li>
  <b><%= t('announcement.category') %></b>
  <%= @bulletin.bulletin_category.i18n_variable[I18n.locale] %>
	</li>
	<li>
  <b><%= t('announcement.postdate') %></b>
  <%= @bulletin.postdate %>
	</li>
	<li>
  <b><%= t('announcement.title') %></b>
  <%= @bulletin.title[I18n.locale] %>
	</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('announcement.subtitle') %></b>
  <%= @bulletin.subtitle[I18n.locale].html_safe %>
	</li>
	<li>
  <b><%= t('announcement.text') %></b>
  <%= @bulletin.text[I18n.locale].html_safe %>
	</li>
	<li>
	<li>
	<b><%= t('announcement.link') %></b>
	<% @bulletin.bulletin_links.each do | blink | %>
    <%= link_to blink.name, blink.url, :target => '_blank' %>
	<% end %>
	</li>
	<li>
	<b><%= t('announcement.file') %></b>
	<% @bulletin.bulletin_files.each do | bfile | %>
	<%= link_to bfile.filetitle, bfile.file.url, {:target => '_blank', :title => bfile.description} if bfile.file.file %>
	<% end %>
	</li>
	<li>
  <b><%= t('announcement.張貼者') %></b>
  <%= User.find(@bulletin.create_user_id).name %>
	</li>
	<li>
  <b><%= t('announcement.最後修改時間') %></b>
  <%= @bulletin.updated_at.strftime("%Y-%m-%d %H:%I:%S") %>
	</li>
-->

<%#= link_back %>
