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> <!DOCTYPE HTML>
<html> <html class="<%= I18n.locale.to_s %>">
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<%= page_title(@item).html_safe %> <%= 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) %> <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 class="date"><%= display_date_time(post.postdate) %></td>
</tr> </tr>
<% end %> <% end %>

View File

@ -19,12 +19,12 @@
</tr> </tr>
<% @news_bulletins.each do |post| %> <% @news_bulletins.each do |post| %>
<tr> <tr>
<td><%= image_tag post.image rescue nil %></td> <td class="img"><%= image_tag post.image rescue nil %></td>
<td> <td>
<%= link_to post.title, panel_news_front_end_news_bulletin_path(post), :class => 'news_title' %> <%= link_to post.title, panel_news_front_end_news_bulletin_path(post), :class => 'news_title' %>
<%= post.subtitle.html_safe rescue '' %> <%= post.subtitle.html_safe rescue '' %>
</td> </td>
<td><%= display_date(post.postdate) %></td> <td class="date"><%= display_date(post.postdate) %></td>
</tr> </tr>
<% end %> <% end %>
</tbody> </tbody>