2012-04-29 22:27:38 +00:00
|
|
|
<% # encoding: utf-8 %>
|
|
|
|
<h1 class="h1"><%= @news_bulletin.title[I18n.locale] %></h1>
|
|
|
|
<div class="info">
|
|
|
|
<div class="info1">
|
2012-05-16 22:25:38 +00:00
|
|
|
<span class="pull-right"><%= dislpay_view_count(@news_bulletin) %></span>
|
2012-04-29 22:27:38 +00:00
|
|
|
<span class="date"><%= @news_bulletin.postdate %></span>
|
|
|
|
|
|
2012-05-04 10:49:07 +00:00
|
|
|
<a href="" class="unit"><%= @news_bulletin.unit_list_for_anc.title[I18n.locale] rescue '' %></a>
|
2012-04-29 22:27:38 +00:00
|
|
|
</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>
|
2012-05-08 20:15:02 +00:00
|
|
|
<div class="linkAndFile">
|
|
|
|
<% if @news_bulletin.news_bulletin_links.size > 0 %>
|
|
|
|
<div>
|
|
|
|
<i class="icons-link"></i>
|
|
|
|
<div class="showLink">
|
|
|
|
<% @news_bulletin.news_bulletin_links.each do | blink | %>
|
|
|
|
<%= link_to blink.i18n_variable[I18n.locale], blink.url, :target => '_blank' %>
|
|
|
|
<% end %>
|
|
|
|
</div>
|
|
|
|
</div>
|
2012-05-08 07:27:43 +00:00
|
|
|
<% end %>
|
2012-05-08 20:15:02 +00:00
|
|
|
<% if @news_bulletin.news_bulletin_files.size > 0 %>
|
|
|
|
<div>
|
|
|
|
<i class="icons-paperclip"></i>
|
|
|
|
<div class="showFile">
|
|
|
|
<% @news_bulletin.news_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>
|
|
|
|
</div>
|
2012-05-08 07:27:43 +00:00
|
|
|
<% end %>
|
2012-05-08 20:15:02 +00:00
|
|
|
</div>
|
2012-05-08 02:50:09 +00:00
|
|
|
|
2012-04-29 22:27:38 +00:00
|
|
|
<div class="fb">
|
|
|
|
<iframe src="//www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.nccu.edu.tw&send=false&layout=standard&width=450&show_faces=false&action=like&colorscheme=light&font&height=35&appId=263319013700607" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:35px;" allowTransparency="true"></iframe>
|
|
|
|
</div>
|