|
|
|
@ -1,4 +1,8 @@
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
function cancel() {
|
|
|
|
|
$("#add_contestnotification").hide();
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
<div class="contextual">
|
|
|
|
|
<%= link_to(l(:button_edit),
|
|
|
|
|
edit_contest_contestnotification_path(@contest, @contestnotification),
|
|
|
|
@ -27,7 +31,7 @@
|
|
|
|
|
|
|
|
|
|
<div id="notificationcomments" style="margin-bottom:16px;">
|
|
|
|
|
|
|
|
|
|
<div style="margin:15px">
|
|
|
|
|
<div style="margin:15px" id ="add_contestnotification">
|
|
|
|
|
<span class="font_description">
|
|
|
|
|
<%= textilizable(@contestnotification, :description) %>
|
|
|
|
|
</span>
|
|
|
|
@ -62,7 +66,17 @@
|
|
|
|
|
</div>
|
|
|
|
|
<p>
|
|
|
|
|
<%= submit_tag l(:button_add) %>
|
|
|
|
|
<%= submit_tag l(:button_cancel), :onclick => "cancel();" %>
|
|
|
|
|
|
|
|
|
|
<!--modified by longjun 点击取消时收回添加回复的部分-->
|
|
|
|
|
|
|
|
|
|
<%= submit_tag l(:button_cancel),
|
|
|
|
|
:name => nil,
|
|
|
|
|
:onclick => "cancel();",
|
|
|
|
|
:type => 'button',
|
|
|
|
|
:class => "enterprise",
|
|
|
|
|
:onmouseout => "this.style.backgroundPosition = 'left top'",
|
|
|
|
|
:onmouseover => "this.style.backgroundPosition = 'left -30px'"
|
|
|
|
|
%>
|
|
|
|
|
</p>
|
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
|
@ -97,7 +111,8 @@
|
|
|
|
|
</span>
|
|
|
|
|
<%= l(:label_comment_plural) %>
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
<!--modified by longjun 删除变成竖的,IE浏览器兼容,将宽度设置为40px-->
|
|
|
|
|
<td width="40px">
|
|
|
|
|
<% if notificationcomment.author==User.current|| User.current.admin? %>
|
|
|
|
|
<%= link_to(l(:label_bid_respond_delete),
|
|
|
|
|
contest_contestnotification_notificationcomment_path(@contest, @contestnotification,notificationcomment),
|
|
|
|
|