Changes for design: menu, frontend news and announcement

This commit is contained in:
Christophe Vilayphiou 2012-08-07 18:11:39 +08:00
parent 9982fd880f
commit c6c8187bda
3 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
<!DOCTYPE HTML>
<html>
<html class="<%= I18n.locale.to_s %>">
<head>
<meta charset="utf-8">
<%= page_title(@item).html_safe %>

View File

@ -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 %>

View File

@ -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>