|
|
|
@ -44,7 +44,7 @@
|
|
|
|
|
<div class="talk_top">
|
|
|
|
|
<div class="fl">项目讨论区共有<span><%= @topic_count %></span>个帖子 </div>
|
|
|
|
|
<% if @project.enabled_modules.where("name = 'boards'").count > 0 && User.current.member_of?(@project) %>
|
|
|
|
|
<span id = 'tttttttt'><%= link_to l(:label_message_new), new_board_message_path(@board),
|
|
|
|
|
<span><%= link_to l(:label_message_new), new_board_message_path(@board),
|
|
|
|
|
:class => 'problem_new_btn fl',
|
|
|
|
|
:onclick => 'showAndScrollTo("add-message", "message_subject"); return false;' if User.current.logged? %></span>
|
|
|
|
|
<% end %>
|
|
|
|
@ -61,14 +61,14 @@
|
|
|
|
|
<div>
|
|
|
|
|
<span><%= link_to h(topic.subject), board_message_path(@board, topic), title:topic.subject.to_s, :class =>"problem_tit fl" %></span>
|
|
|
|
|
<% if topic.sticky? %>
|
|
|
|
|
<span class="talk_up">置顶</span>
|
|
|
|
|
<span class="talk_up">置顶</span>
|
|
|
|
|
<% end %>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="problem_line">
|
|
|
|
|
<span>由<%= link_to topic.author, user_path(topic.author), :class =>"problem_name" %></span>
|
|
|
|
|
<span>添加于<%= format_time topic.created_on %></span>
|
|
|
|
|
<span>由<%= link_to topic.author, user_path(topic.author), :class =>"problem_name" %></span>
|
|
|
|
|
<span>添加于<%= format_time topic.created_on %></span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<span class="talk_btn fr">回复<%= link_to (topic.replies_count), board_message_path(@board, topic), :style =>"color:#fff;" %></span>
|
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
</div><!--讨论主类容 end-->
|
|
|
|
|