add link of title

This commit is contained in:
Rueshyna 2012-11-05 10:37:04 +08:00
parent 3d5274a6f9
commit 9f3c3f0d7e
1 changed files with 5 additions and 1 deletions

View File

@ -25,7 +25,11 @@
<tr id="<%= dom_id bulletin%>" class="with_action">
<td><%= bulletin.bulletin_category.title%></td>
<td>
<%= bulletin.title%>
<% if bulletin.is_checked? %>
<%= link_to bulletin.title, panel_announcement_front_end_bulletin_path(bulletin, :category_id => bulletin.bulletin_category.id) rescue ''%>
<% else %>
<%= bulletin.title%>
<% end %>
</td>
<td><%= display_date_time(bulletin.postdate) %></td>
<% if not bulletin.deadline.nil?%>