|
|
@ -115,6 +115,7 @@
|
|
|
|
<%= link_to image_tag(url_to_avatar(User.current), :width => "33", :height => "33", :alt => "用户头像"), user_url_in_org(User.current.id) %>
|
|
|
|
<%= link_to image_tag(url_to_avatar(User.current), :width => "33", :height => "33", :alt => "用户头像"), user_url_in_org(User.current.id) %>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="homepagePostReplyInputContainer">
|
|
|
|
<div class="homepagePostReplyInputContainer">
|
|
|
|
|
|
|
|
<% if User.current.logged? %>
|
|
|
|
<div nhname='new_message_<%= act.id %>' style="display:none;">
|
|
|
|
<div nhname='new_message_<%= act.id %>' style="display:none;">
|
|
|
|
<%= form_for('new_form', :url => add_reply_org_document_comment_path(:id => document.id, :act_id => act.id, :flag => flag), :method => "post", :remote => true) do |f| %>
|
|
|
|
<%= form_for('new_form', :url => add_reply_org_document_comment_path(:id => document.id, :act_id => act.id, :flag => flag), :method => "post", :remote => true) do |f| %>
|
|
|
|
<input type="hidden" name="org_activity_id" value="<%= act.id %>"/>
|
|
|
|
<input type="hidden" name="org_activity_id" value="<%= act.id %>"/>
|
|
|
@ -126,6 +127,9 @@
|
|
|
|
<p nhname='contentmsg_<%= act.id %>'></p>
|
|
|
|
<p nhname='contentmsg_<%= act.id %>'></p>
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<% else %>
|
|
|
|
|
|
|
|
<%= render :partial => "users/show_unlogged" %>
|
|
|
|
|
|
|
|
<% end %>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="cl"></div>
|
|
|
|
<div class="cl"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|