Fix announcement front-end bug

This commit is contained in:
chris 2012-11-15 17:23:24 +08:00
parent 9b1ada0af9
commit 112f7000a0
1 changed files with 32 additions and 31 deletions

View File

@ -258,6 +258,7 @@
<% end %>
</table>
<% end %>
<% else %>
<table class="table table-bordered">
@ -270,7 +271,7 @@
<% @bulletins.each do |post| %>
<tr>
<td><%= post.bulletin_category.i18n_variable[I18n.locale] rescue nil %></td>
<td><%= link_to post.title[I18n.locale], panel_announcement_front_end_bulletin_path(post, :category_id => post.bulletin_category_id) %>
<td><%= link_to post.title, panel_announcement_front_end_bulletin_path(post, :category_id => post.bulletin_category_id) %>
<%#= link_to post.title, panel_announcement_back_end_bulletin_path(post) %>
</td>
<td><%= display_date_time(post.postdate) %></td>