|
|
|
@ -37,7 +37,7 @@
|
|
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
<td colspan="2" valign="top">
|
|
|
|
|
<strong><%= link_to_user(contestnotifications.author) if contestnotifications.respond_to?(:author) %></strong><span style="margin-left: 4px;" class="font_lighter"><%= l(:label_project_notice) %></span><span><%= link_to h(contestnotifications.title), contest_contestnotification_path(contestnotifications) %></span>
|
|
|
|
|
<strong><%= link_to_user(contestnotifications.author) if contestnotifications.respond_to?(:author) %></strong><span style="margin-left: 4px;" class="font_lighter"><%= l(:label_project_notice) %></span><span><%#= link_to h(contestnotifications.title), contest_contestnotification_path(contestnotifications) %></span>
|
|
|
|
|
<span style="float: right"><%= delete_link contest_contestnotification_path(contestnotifications) if User.current.allowed_to?(:manage_contestnotifications, @contest) %> </span>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
@ -48,7 +48,7 @@
|
|
|
|
|
<tr>
|
|
|
|
|
<td align="left"><span class="font_lighter"> <%= l :label_update_time %>
|
|
|
|
|
<%= format_time(contestnotifications.created_at) %></span></td>
|
|
|
|
|
<td width="350" align="right" class="a"><%= link_to l(:label_project_newother), contest_contestnotification_path(contestnotifications) %><%= "(#{l(:label_x_comments, :count => contestnotifications.comments_count)})" if contestnotifications.comments_count >= 0 %></td>
|
|
|
|
|
<td width="350" align="right" class="a"><%#= link_to l(:label_project_newother), contest_contestnotification_path(contestnotifications) %><%#= "(#{l(:label_x_comments, :count => contestnotifications.comments_count)})" if(contestnotifications.comments_count >= 0)%></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
</td>
|
|
|
|
|