bigdir/app/views/news/_news.html.erb

29 lines
1.4 KiB
Plaintext
Raw Normal View History

2013-08-01 10:33:49 +08:00
<!--<p><%= link_to_project(news.project) + ': ' unless @project %>
<table><tr><td><img src="/images/new/news.png" width="40" height="40"/></td><td><%= link_to h(news.title), news_path(news) %>
<%= "(#{l(:label_x_comments, :count => news.comments_count)})" if news.comments_count > 0 %>
<% unless news.summary.blank? %></td><td><span class="fontligher"><%=h news.summary %></span><% end %></td>
<td><span class="author"><%= authoring news.created_on, news.author %></span></td></tr></table></p>-->
<table width="660px" border="0" align="center">
<tr>
<td colspan="2" valign="top" width="50" ><img src="/images/new/news.png" width="40" height="40"/></td>
<td><table width="580px" border="0">
<tr>
<td colspan="2" valign="top"><strong> <%=link_to news.author,news_path(news)%></strong>
<a class="font_lighter"><%= l(:label_project_newshare) %></a> <%= link_to h(news.title), news_path(news) %>
</td>
2013-08-01 10:33:49 +08:00
</tr>
<tr>
<td colspan="2" width="580px" ><p class="font_description"><%=h news.description%></p></td>
</tr>
<tr>
<td align="left"><a class="font_lighter"> <%= news.created_on %></a></td>
<td width="200" 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>
2013-08-01 10:33:49 +08:00
</tr>
</table></td>
</tr>
</table>