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) %>
|
<%= t("search.result_get",:search_word => params[:search_query],:item_num=>@bulletins.count) %>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% @bulletins.each do |post| %>
|
<% @bulletins.each do |post| %>
|
||||||
<tr>
|
<tr class=<%= cycle('odd', '') %>>
|
||||||
<td><%= (post.bulletin_category.title rescue nil ) if !params[:search_query].blank? %></td>
|
<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) %>
|
<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) %>
|
<%#= link_to post.title, panel_announcement_back_end_bulletin_path(post) %>
|
||||||
|
|
Loading…
Reference in New Issue