diff --git a/app/views/boards/index.html.erb b/app/views/boards/index.html.erb index 9f5c65b..c516b94 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 cefa58a..88447e1 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;