From a0b2ab338e0b61dd4d73f858c1bd16394ca518a5 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 29 Jul 2012 11:23:59 +0000 Subject: [PATCH] Removed inline styles. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10117 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/boards/index.html.erb | 8 +++----- public/stylesheets/application.css | 2 ++ 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/views/boards/index.html.erb b/app/views/boards/index.html.erb index 9f5c65b6b..c516b947f 100644 --- a/app/views/boards/index.html.erb +++ b/app/views/boards/index.html.erb @@ -14,15 +14,13 @@ <%= link_to h(board.name), {:action => 'show', :id => board}, :class => "board" %>
<%=h board.description %> - <%= board.topics_count %> - <%= board.messages_count %> - - + <%= board.topics_count %> + <%= board.messages_count %> + <% if board.last_message %> <%= authoring board.last_message.created_on, board.last_message.author %>
<%= link_to_message board.last_message %> <% end %> -
<% end %> diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index cefa58aef..88447e104 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -238,6 +238,8 @@ table.attributes th { vertical-align: top; text-align: left; } table.attributes td { vertical-align: top; } table.boards a.board, h3.comments { background: url(../images/comment.png) no-repeat 0% 50%; padding-left: 20px; } +table.boards td.topic-count, table.boards td.message-count {text-align:center;} +table.boards td.last-message {font-size:80%;} table.query-columns { border-collapse: collapse; -- 2.39.5