|
|
@ -29,10 +29,10 @@
|
|
|
|
<div style="margin:15px">
|
|
|
|
<div style="margin:15px">
|
|
|
|
<span class="font_description"> <%= textilizable(@contestnotification, :description) %> </span>
|
|
|
|
<span class="font_description"> <%= textilizable(@contestnotification, :description) %> </span>
|
|
|
|
<br/>
|
|
|
|
<br/>
|
|
|
|
|
|
|
|
<%#= link_to_attachments @contestnotification %>
|
|
|
|
<br/>
|
|
|
|
<br/>
|
|
|
|
<!--add comment-->
|
|
|
|
<!--add comment-->
|
|
|
|
<% if @contestnotification.notificationcommentable? %>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
<p>
|
|
|
|
<%= toggle_link l(:label_comment_add), "add_notificationcomment_form", :focus => "notificationcomment_notificationcomments" %>
|
|
|
|
<%= toggle_link l(:label_comment_add), "add_notificationcomment_form", :focus => "notificationcomment_notificationcomments" %>
|
|
|
|
</p>
|
|
|
|
</p>
|
|
|
@ -45,7 +45,7 @@
|
|
|
|
<%= submit_tag l(:button_add) %>
|
|
|
|
<%= submit_tag l(:button_add) %>
|
|
|
|
</p>
|
|
|
|
</p>
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<% html_title @contestnotification.title -%>
|
|
|
|
<% html_title @contestnotification.title -%>
|
|
|
|
|
|
|
|
|
|
|
@ -57,7 +57,7 @@
|
|
|
|
<div class="line_heng"></div>
|
|
|
|
<div class="line_heng"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<h3 class="notificationcomments"><%= l(:label_comment_plural) %></h3>
|
|
|
|
<h3 class="notificationcomments"><%= l(:label_comment_plural) %></h3>
|
|
|
|
<% notificationcomments = @contestnotification.notificationcomments.reverse %>
|
|
|
|
<% notificationcomments = @notificationcomments.reverse %>
|
|
|
|
<% notificationcomments.each do |notificationcomment| %>
|
|
|
|
<% notificationcomments.each do |notificationcomment| %>
|
|
|
|
<% next if notificationcomment.new_record? %>
|
|
|
|
<% next if notificationcomment.new_record? %>
|
|
|
|
<table width="660px" border="0" align="center">
|
|
|
|
<table width="660px" border="0" align="center">
|
|
|
|