Toggle line color for announcement frontend
This commit is contained in:
parent
6a94d4f550
commit
5fc679e0ca
|
@ -21,12 +21,12 @@
|
||||||
<%= 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) %>
|
||||||
</td>
|
</td>
|
||||||
<td><%= display_date_time(post.postdate) %></td>
|
<td><%= display_date_time(post.postdate) %></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
Loading…
Reference in New Issue