Toggle line color for announcement frontend
This commit is contained in:
parent
6a94d4f550
commit
5fc679e0ca
|
@ -21,7 +21,7 @@
|
|||
<%= t("search.result_get",:search_word => params[:search_query],:item_num=>@bulletins.count) %>
|
||||
<% end %>
|
||||
<% @bulletins.each do |post| %>
|
||||
<tr>
|
||||
<tr class=<%= cycle('odd', '') %>>
|
||||
<td><%= (post.bulletin_category.title rescue nil ) if !params[:search_query].blank? %></td>
|
||||
<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) %>
|
||||
|
|
Reference in New Issue