parent
747b2007cd
commit
c51c73f225
@ -1,20 +1,24 @@
|
|||||||
<div class="ReplyToMessageContainer borderBottomNone"id="reply_to_message_<%= reply.id%>">
|
<div class="ReplyToMessageContainer borderBottomNone"id="reply_to_message_<%= reply.id%>">
|
||||||
<div class="homepagePostReplyPortrait mr15 imageFuzzy" id="reply_image_<%= reply.id%>"><%= link_to image_tag(url_to_avatar(User.current), :width => "33", :height => "33"), user_path(User.current), :alt => "用户头像" %></div>
|
<div class="homepagePostReplyPortrait mr15 imageFuzzy" id="reply_image_<%= reply.id%>"><%= link_to image_tag(url_to_avatar(User.current), :width => "33", :height => "33"), user_path(User.current), :alt => "用户头像" %></div>
|
||||||
<div class="ReplyToMessageInputContainer mb10">
|
<div class="ReplyToMessageInputContainer mb10">
|
||||||
<div nhname='new_message_<%= reply.id%>'>
|
<% if User.current.logged? %>
|
||||||
<%= form_for @blog_comment, :as => :reply, :url => {:controller => 'blog_comments',:action => 'reply', :id => @blogComment.id}, :html => {:multipart => true, :id => 'new_form'} do |f| %>
|
<div nhname='new_message_<%= reply.id%>'>
|
||||||
<input type="hidden" name="quote[quote]" id="quote_quote">
|
<%= form_for @blog_comment, :as => :reply, :url => {:controller => 'blog_comments',:action => 'reply', :id => @blogComment.id}, :html => {:multipart => true, :id => 'new_form'} do |f| %>
|
||||||
<% if course_id%>
|
<input type="hidden" name="quote[quote]" id="quote_quote">
|
||||||
<input type="hidden" name="course_id" id="" value="<%= course_id%>">
|
<% if course_id%>
|
||||||
<% end %>
|
<input type="hidden" name="course_id" id="" value="<%= course_id%>">
|
||||||
<input type="hidden" name="blog_comment[title]" id="reply_subject">
|
<% end %>
|
||||||
<div nhname='toolbar_container_<%= reply.id%>'></div>
|
<input type="hidden" name="blog_comment[title]" id="reply_subject">
|
||||||
<textarea placeholder="有问题或有建议,请直接给我留言吧!" style="display: none" nhname='new_message_textarea_<%= reply.id%>' name="blog_comment[content]"></textarea>
|
<div nhname='toolbar_container_<%= reply.id%>'></div>
|
||||||
<a id="new_message_submit_btn_<%= reply.id%>" href="javascript:void(0)" onclick="this.style.display='none'" class="blue_n_btn fr" style="display:none;margin-top:2px;">发送</a>
|
<textarea placeholder="有问题或有建议,请直接给我留言吧!" style="display: none" nhname='new_message_textarea_<%= reply.id%>' name="blog_comment[content]"></textarea>
|
||||||
<div class="cl"></div>
|
<a id="new_message_submit_btn_<%= reply.id%>" href="javascript:void(0)" onclick="this.style.display='none'" class="blue_n_btn fr" style="display:none;margin-top:2px;">发送</a>
|
||||||
<p nhname='contentmsg_<%= reply.id%>'></p>
|
<div class="cl"></div>
|
||||||
<% end%>
|
<p nhname='contentmsg_<%= reply.id%>'></p>
|
||||||
</div>
|
<% end%>
|
||||||
|
</div>
|
||||||
|
<% else %>
|
||||||
|
<%= render :partial => "users/show_unlogged" %>
|
||||||
|
<% end %>
|
||||||
<div class="cl"></div>
|
<div class="cl"></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="cl"></div>
|
<div class="cl"></div>
|
||||||
|
@ -1,17 +1,21 @@
|
|||||||
<div class="ReplyToMessageContainer borderBottomNone"id="reply_to_message_<%= reply.id%>">
|
<div class="ReplyToMessageContainer borderBottomNone"id="reply_to_message_<%= reply.id%>">
|
||||||
<div class="homepagePostReplyPortrait mr15 imageFuzzy" id="reply_image_<%= reply.id%>"><%= link_to image_tag(url_to_avatar(User.current), :width => "33", :height => "33"), user_path(User.current), :alt => "用户头像" %></div>
|
<div class="homepagePostReplyPortrait mr15 imageFuzzy" id="reply_image_<%= reply.id%>"><%= link_to image_tag(url_to_avatar(User.current), :width => "33", :height => "33"), user_path(User.current), :alt => "用户头像" %></div>
|
||||||
<div class="ReplyToMessageInputContainer mb10">
|
<div class="ReplyToMessageInputContainer mb10">
|
||||||
<div nhname='new_message_<%= reply.id%>'>
|
<% if User.current.logged? %>
|
||||||
<%= form_for @org_comment, :as => :reply, :url => {:controller => 'org_document_comments',:action => 'reply', :id => @org_comment.id}, :method => 'post', :html => {:multipart => true, :id => 'new_form'} do |f| %>
|
<div nhname='new_message_<%= reply.id%>'>
|
||||||
<input type="hidden" name="quote[quote]" id="quote_quote">
|
<%= form_for @org_comment, :as => :reply, :url => {:controller => 'org_document_comments',:action => 'reply', :id => @org_comment.id}, :method => 'post', :html => {:multipart => true, :id => 'new_form'} do |f| %>
|
||||||
<input type="hidden" name="org_document_comment[title]" id="reply_subject">
|
<input type="hidden" name="quote[quote]" id="quote_quote">
|
||||||
<div nhname='toolbar_container_<%= reply.id%>'></div>
|
<input type="hidden" name="org_document_comment[title]" id="reply_subject">
|
||||||
<textarea placeholder="有问题或有建议,请直接给我留言吧!" style="display: none" nhname='new_message_textarea_<%= reply.id%>' name="org_document_comment[content]"></textarea>
|
<div nhname='toolbar_container_<%= reply.id%>'></div>
|
||||||
<a id="new_message_submit_btn_<%= reply.id%>" href="javascript:void(0)" onclick="this.style.display='none'" class="blue_n_btn fr" style="display:none;margin-top:2px;">发送</a>
|
<textarea placeholder="有问题或有建议,请直接给我留言吧!" style="display: none" nhname='new_message_textarea_<%= reply.id%>' name="org_document_comment[content]"></textarea>
|
||||||
<div class="cl"></div>
|
<a id="new_message_submit_btn_<%= reply.id%>" href="javascript:void(0)" onclick="this.style.display='none'" class="blue_n_btn fr" style="display:none;margin-top:2px;">发送</a>
|
||||||
<p nhname='contentmsg_<%= reply.id%>'></p>
|
<div class="cl"></div>
|
||||||
<% end%>
|
<p nhname='contentmsg_<%= reply.id%>'></p>
|
||||||
</div>
|
<% end%>
|
||||||
|
</div>
|
||||||
|
<% else %>
|
||||||
|
<%= render :partial => "users/show_unlogged" %>
|
||||||
|
<% end %>
|
||||||
<div class="cl"></div>
|
<div class="cl"></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="cl"></div>
|
<div class="cl"></div>
|
||||||
|
@ -1,19 +1,23 @@
|
|||||||
<div class="orig_reply_box borderBottomNone" id="reply_to_message_<%= reply.id%>">
|
<div class="orig_reply_box borderBottomNone" id="reply_to_message_<%= reply.id%>">
|
||||||
<div class="homepagePostReplyPortrait mr15 imageFuzzy" id="reply_image_<%= reply.id%>"><%= link_to image_tag(url_to_avatar(User.current), :width => "33", :height => "33"), user_path(User.current), :alt => "用户头像" %></div>
|
<div class="homepagePostReplyPortrait mr15 imageFuzzy" id="reply_image_<%= reply.id%>"><%= link_to image_tag(url_to_avatar(User.current), :width => "33", :height => "33"), user_path(User.current), :alt => "用户头像" %></div>
|
||||||
<div class="orig_textarea mb10 fl">
|
<div class="orig_textarea mb10 fl">
|
||||||
<div nhname='new_message_<%= reply.id%>'>
|
<% if User.current.logged? %>
|
||||||
<%= form_for('new_form',:url => {:controller => 'words', :action => 'reply_to_homework', :id => reply.id},:method => "post", :remote => true) do |f| %>
|
<div nhname='new_message_<%= reply.id%>'>
|
||||||
<input type="hidden" name="is_in_course" value=<%=@is_in_course %>>
|
<%= form_for('new_form',:url => {:controller => 'words', :action => 'reply_to_homework', :id => reply.id},:method => "post", :remote => true) do |f| %>
|
||||||
<input type="hidden" name="user_activity_id" value=<%=@user_activity_id %>>
|
<input type="hidden" name="is_in_course" value=<%=@is_in_course %>>
|
||||||
<input type="hidden" name="course_activity" value=<%=@course_activity %>>
|
<input type="hidden" name="user_activity_id" value=<%=@user_activity_id %>>
|
||||||
<input type="hidden" name="reply[subject]" id="reply_subject">
|
<input type="hidden" name="course_activity" value=<%=@course_activity %>>
|
||||||
<div nhname='toolbar_container_<%= reply.id%>'></div>
|
<input type="hidden" name="reply[subject]" id="reply_subject">
|
||||||
<textarea placeholder="有问题或有建议,请直接给我留言吧!" style="display: none" nhname='new_message_textarea_<%= reply.id%>' name="reply_message"></textarea>
|
<div nhname='toolbar_container_<%= reply.id%>'></div>
|
||||||
<a id="new_message_submit_btn_<%= reply.id%>" href="javascript:void(0)" onclick="this.style.display='none'" class="blue_n_btn fr" style="display:none;margin-top:6px;">发送</a>
|
<textarea placeholder="有问题或有建议,请直接给我留言吧!" style="display: none" nhname='new_message_textarea_<%= reply.id%>' name="reply_message"></textarea>
|
||||||
<div class="cl"></div>
|
<a id="new_message_submit_btn_<%= reply.id%>" href="javascript:void(0)" onclick="this.style.display='none'" class="blue_n_btn fr" style="display:none;margin-top:6px;">发送</a>
|
||||||
<p nhname='contentmsg_<%= reply.id%>'></p>
|
<div class="cl"></div>
|
||||||
<% end%>
|
<p nhname='contentmsg_<%= reply.id%>'></p>
|
||||||
</div>
|
<% end%>
|
||||||
|
</div>
|
||||||
|
<% else %>
|
||||||
|
<%= render :partial => "users/show_unlogged" %>
|
||||||
|
<% end %>
|
||||||
<div class="cl"></div>
|
<div class="cl"></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="cl"></div>
|
<div class="cl"></div>
|
||||||
|
Loading…
Reference in new issue