|
|
|
@ -16,22 +16,26 @@
|
|
|
|
|
<% end %>
|
|
|
|
|
<% end %>
|
|
|
|
|
</div>
|
|
|
|
|
<% if is_activity.to_i == 1 %>
|
|
|
|
|
<div class="homepagePostTitle break_word list_style upload_img">
|
|
|
|
|
<% if activity.parent %>
|
|
|
|
|
<%= link_to activity.parent.notes.html_safe, feedback_path(activity.jour, :host=> Setting.host_user), :class => "postGrey" %>
|
|
|
|
|
<% else %>
|
|
|
|
|
<%= link_to activity.notes.html_safe, feedback_path(activity.jour, :host=> Setting.host_user), :class => "postGrey" %>
|
|
|
|
|
<% end %>
|
|
|
|
|
</div>
|
|
|
|
|
<% else %>
|
|
|
|
|
<%# if is_activity.to_i == 1 %>
|
|
|
|
|
<!--<div class="homepagePostTitle break_word list_style upload_img">
|
|
|
|
|
<%# if activity.parent %>
|
|
|
|
|
<%#= link_to activity.parent.notes.html_safe, feedback_path(activity.jour, :host=> Setting.host_user), :class => "postGrey" %>
|
|
|
|
|
<%# else %>
|
|
|
|
|
<%#= link_to activity.notes.html_safe, feedback_path(activity.jour, :host=> Setting.host_user), :class => "postGrey" %>
|
|
|
|
|
<%# end %>
|
|
|
|
|
</div>-->
|
|
|
|
|
<%# else %>
|
|
|
|
|
<% if activity.parent %>
|
|
|
|
|
<% content = activity.parent.notes %>
|
|
|
|
|
<% else %>
|
|
|
|
|
<% content = activity.notes %>
|
|
|
|
|
<% end %>
|
|
|
|
|
<%=render :partial =>"users/intro_content", :locals=>{:user_activity_id =>user_activity_id, :content=>content} %>
|
|
|
|
|
<% end %>
|
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
<div id="intro_content_show_<%= user_activity_id%>" class="fr" style="display:none;"><a href="javascript:void(0);" class="linkBlue">[展开]</a></div>
|
|
|
|
|
<div id="intro_content_hide_<%= user_activity_id%>" class="fr" style="display:none;"><a href="javascript:void(0);" class="linkBlue">[收起]</a></div>
|
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
<%# end %>
|
|
|
|
|
<div class="homepagePostDate fl">
|
|
|
|
|
留言时间:<%= format_time(activity.created_on) %>
|
|
|
|
|
</div>
|
|
|
|
|