Changes for design: menu, frontend news and announcement
This commit is contained in:
parent
9982fd880f
commit
c6c8187bda
|
@ -1,5 +1,5 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<html class="<%= I18n.locale.to_s %>">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<%= page_title(@item).html_safe %>
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
<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>
|
||||
<td class="date"><%= display_date_time(post.postdate) %></td>
|
||||
</tr>
|
||||
|
||||
<% end %>
|
||||
|
|
|
@ -19,12 +19,12 @@
|
|||
</tr>
|
||||
<% @news_bulletins.each do |post| %>
|
||||
<tr>
|
||||
<td><%= image_tag post.image rescue nil %></td>
|
||||
<td class="img"><%= image_tag post.image rescue nil %></td>
|
||||
<td>
|
||||
<%= link_to post.title, panel_news_front_end_news_bulletin_path(post), :class => 'news_title' %>
|
||||
<%= post.subtitle.html_safe rescue '' %>
|
||||
</td>
|
||||
<td><%= display_date(post.postdate) %></td>
|
||||
<td class="date"><%= display_date(post.postdate) %></td>
|
||||
</tr>
|
||||
<% end %>
|
||||
</tbody>
|
||||
|
|
Reference in New Issue