<% # encoding: utf-8 %>

<% if @bulletins and !@bulletins.nil? %>
	<h2 class="topic_title"><%= t('announcement.campus_news')%></h2>
	<%= link_to t('announcement.more'),panel_announcement_front_end_bulletins_path(), :class => "topic_note" %>
	<div class="topic_prev">previous page</div>
	<div class="topic_next">next page</div>
	<ul id="topic_list">
		<% @bulletins.each do |post| %>
		<li>
			<div class="news_img"><%= image_tag(post.image.url, :size => "290x130") if post.image.file %></div>
			<h3 class="h3 news_title"><%= link_to post.title[I18n.locale], panel_announcement_front_end_bulletin_path(post, :category_id => post.bulletin_category_id) %></h3>
			<p class="news_wrap"><%= post.subtitle[I18n.locale].html_safe %></p>
		</li>
		<% end %>
	</ul>

<% end %>


