|
|
|
@ -1,5 +1,4 @@
|
|
|
|
|
|
|
|
|
|
<div class="project_r_h">
|
|
|
|
|
<div class="project_r_h" xmlns="http://www.w3.org/1999/html">
|
|
|
|
|
<h2 class="project_h2 fl">
|
|
|
|
|
<% if User.current.language == "zh"%>
|
|
|
|
|
<%= h @board.name %>
|
|
|
|
@ -36,24 +35,25 @@
|
|
|
|
|
<div class="talkmain_box" style="border:none; margin-bottom:0;">
|
|
|
|
|
<%= link_to image_tag(url_to_avatar(topic.author), :width=>"42",:height=>"42"), user_path(topic.author),:class =>'talkmain_pic fl' %>
|
|
|
|
|
<div class="talkmain_txt fl mt5">
|
|
|
|
|
<% author = topic.author.to_s + ":" %>
|
|
|
|
|
<% author = topic.author.to_s + ":" %>
|
|
|
|
|
<%= link_to author, user_path(topic.author), :class =>"talkmain_name fl " %>
|
|
|
|
|
<p class="talkmain_tit fl fb"> <%= h(topic.subject) %></p>
|
|
|
|
|
<% if topic.sticky? %>
|
|
|
|
|
<a href="javascript:void(0)" class="talk_up fr c_red"><%= l(:label_board_sticky)%></a>
|
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
|
|
|
|
|
<p id="contentmessage<%=topic.id %>" class="project_board_content">
|
|
|
|
|
<%= topic.content %>
|
|
|
|
|
</p> <p>
|
|
|
|
|
<label id="expend_more_information<%= topic.id%>" onclick="show_more_reply('#contentmessage<%=topic.id %>','#expend_more_information<%= topic.id%>','#arrow<%=topic.id%>');" value="show_more">[展开]</label>
|
|
|
|
|
<span class="g-arr-down">
|
|
|
|
|
<img id="arrow<%=topic.id%>" src="/images/jiantou.jpg" width="12" height="6" />
|
|
|
|
|
</span>
|
|
|
|
|
|
|
|
|
|
<br/>
|
|
|
|
|
</p>
|
|
|
|
|
|
|
|
|
|
<p class="break_word" id="contentmessage<%=topic.id %>">
|
|
|
|
|
<%= topic.content %> </p>
|
|
|
|
|
<div class="lg-foot" style="display: block" id="lg-foot<%= topic.id %>" onclick="show_more_reply('#contentmessage<%=topic.id %>','#expend_more_information<%= topic.id%>','#arrow<%=topic.id%>');">
|
|
|
|
|
<label id="expend_more_information<%= topic.id%>" value="show_more"><%= l(:label_expend_information)%></label>
|
|
|
|
|
<span class="g-arr-down">
|
|
|
|
|
<img id="arrow<%=topic.id%>" src="/images/jiantou.jpg" width="12" height="6" />
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<%= l(:label_activity_time)%>: <%= format_time topic.created_on %>
|
|
|
|
@ -166,6 +166,7 @@
|
|
|
|
|
<% content_for :header_tags do %>
|
|
|
|
|
<%= auto_discovery_link_tag(:atom, {:format => 'atom', :key => User.current.rss_key}, :title => "#{@project}: #{@board}") %>
|
|
|
|
|
<% end %>
|
|
|
|
|
</div>
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
// var flag = false;
|
|
|
|
|
// jQuery(document).ready(function($) {
|
|
|
|
|