2014-08-21 15:40:21 +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 %>
|
2014-05-30 20:52:55 +08:00
|
|
|
|
2014-09-12 16:45:03 +08:00
|
|
|
<%# unless news.summary.blank? %></td><td><span class="fontligher"><%#=h news.summary %></span></td>
|
2014-08-21 15:40:21 +08:00
|
|
|
<td><span class="author"><%#= authoring news.created_on, news.author %></span></td></tr></table></p>-->
|
2014-05-30 20:52:55 +08:00
|
|
|
|
|
|
|
<table width="660px" border="0" align="center">
|
|
|
|
<tr>
|
2014-09-12 16:45:03 +08:00
|
|
|
<td colspan="2" valign="top" width="50" >
|
|
|
|
<img src="/images/new/news.png" width="40" height="40"/>
|
|
|
|
</td>
|
2014-05-30 20:52:55 +08:00
|
|
|
<td><table width="580px" border="0">
|
|
|
|
<tr>
|
2014-09-12 16:45:03 +08:00
|
|
|
<td colspan="2" valign="top">
|
|
|
|
<strong>
|
|
|
|
<%=link_to contestnotifications.author,
|
|
|
|
contest_contestnotification_path(contestnotifications)
|
|
|
|
%>
|
|
|
|
</strong>
|
|
|
|
<a class="font_lighter">
|
|
|
|
<%= l(:label_project_newshare) %>
|
|
|
|
</a>
|
|
|
|
<%= link_to h(contestnotifications.title),
|
|
|
|
contest_contestnotification_path(contestnotifications)
|
|
|
|
%>
|
2014-05-30 20:52:55 +08:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
2014-09-12 16:45:03 +08:00
|
|
|
<td colspan="2" width="580px" >
|
|
|
|
<p class="font_description">
|
|
|
|
<%=h contestnotifications.description%>
|
|
|
|
</p>
|
|
|
|
</td>
|
2014-05-30 20:52:55 +08:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2014-09-12 16:45:03 +08:00
|
|
|
<td align="left">
|
|
|
|
<a class="font_lighter">
|
|
|
|
<%= contestnotifications.created_at %>
|
|
|
|
</a>
|
|
|
|
</td>
|
|
|
|
<td width="200" align="right" class="a">
|
|
|
|
<%= link_to l(:label_project_newother),
|
|
|
|
contest_contestnotification_path(contestnotifications)
|
|
|
|
%>
|
2014-06-05 11:02:32 +08:00
|
|
|
<%= "(#{l(:label_x_comments, :count => contestnotifications.notificationcomments_count)})" if contestnotifications.notificationcomments_count > 0 %>
|
2014-05-30 20:52:55 +08:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table></td>
|
|
|
|
</tr>
|
|
|
|
</table>
|