|
|
|
@ -28,23 +28,6 @@
|
|
|
|
|
<% end if @project %>
|
|
|
|
|
<div id="preview" class="wiki"></div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!--<h3><%=l(:label_news_plural)%></h3>
|
|
|
|
|
|
|
|
|
|
<% if @newss.empty? %>
|
|
|
|
|
<p class="nodata"><%= l(:label_no_data) %></p>
|
|
|
|
|
<% else %>
|
|
|
|
|
<% @newss.each do |news| %>
|
|
|
|
|
<h3><%= avatar(news.author, :size => "24") %><%= link_to_project(news.project) + ': ' unless news.project == @project %>
|
|
|
|
|
<%= link_to h(news.title), news_path(news) %>
|
|
|
|
|
<%= "(#{l(:label_x_comments, :count => news.comments_count)})" if news.comments_count > 0 %></h3>
|
|
|
|
|
<p class="author"><%= authoring news.created_on, news.author %></p>
|
|
|
|
|
<div class="wiki">
|
|
|
|
|
<%= textilizable(news, :description) %>
|
|
|
|
|
</div>
|
|
|
|
|
<% end %>
|
|
|
|
|
<% end %> -->
|
|
|
|
|
|
|
|
|
|
<!--add by huang :list news-->
|
|
|
|
|
<div>
|
|
|
|
|
<% if @newss.empty? %>
|
|
|
|
@ -73,7 +56,7 @@
|
|
|
|
|
<td colspan="2" width="580px" ><span class="font_description"><%= textilizable(news, :description) %></span></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td align="left"><span class="font_lighter"> <%= l :label_update_time %>: <%= format_time(news.created_on) %></span></td>
|
|
|
|
|
<td align="left"><span class="font_lighter"> <%= l :label_update_time %>: <%= format_time(news.created_on) %></span></td>
|
|
|
|
|
<td width="350" align="right" class="a"><%= link_to l(:label_project_newother),news_path(news)%><%= "(#{l(:label_x_comments, :count => news.comments_count)})" if news.comments_count >= 0 %></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table></td>
|
|
|
|
|