diff --git a/app/views/boards/show.html.erb b/app/views/boards/show.html.erb index e0ee2aab7..3fd5065d0 100644 --- a/app/views/boards/show.html.erb +++ b/app/views/boards/show.html.erb @@ -1,11 +1,12 @@ <%= board_breadcrumb(@board) %> -
+ +
<%= link_to l(:label_message_new), new_board_message_path(@board), :class => 'icon icon-add', :onclick => 'showAndScrollTo("add-message", "message_subject"); return false;' if User.current.logged? %> -<%= watcher_link(@board, User.current) %> +
-

<%=h @board.name %>

-

<%=h @board.description %>

+ +
<%=h @board.name %>
+
<%=h @board.description %>
+
共有 <%=link_to @topics.count %> 个贴子
<% if @topics.any? %> - + <% @topics.each do |topic| %> - +
+ + + +
<%= link_to image_tag(url_to_avatar(topic.author), :class => "avatar"), user_path(topic.author) %> + + + + + + + + + <% if topic.last_reply %> + + +
<%= link_to h(topic.subject), board_message_path(@board, topic) %> + +
<%=link_to (topic.replies_count), board_message_path(@board, topic) %>
回答
标签
<%= authoring topic.last_reply.created_on, topic.last_reply.author %>
<% end %>
+ + <% end %> - - + <% else %>

<%= l(:label_no_data) %>

diff --git a/app/views/layouts/base_projects.html.erb b/app/views/layouts/base_projects.html.erb index 333702f25..80aa0f787 100644 --- a/app/views/layouts/base_projects.html.erb +++ b/app/views/layouts/base_projects.html.erb @@ -48,8 +48,7 @@ - - +