|
|
|
@ -38,7 +38,12 @@
|
|
|
|
|
<li class="homepagePostSettingIcon">
|
|
|
|
|
<% if User.current.logged? %>
|
|
|
|
|
<ul class="homepagePostSettiongText">
|
|
|
|
|
<li><%= link_to("发送", 'javascript:void(0)',:class => "postOptionLink",:onclick=>"show_send('#{activity.id}',#{User.current.id},'news')") %></li>
|
|
|
|
|
<% if hidden_unproject_infos %>
|
|
|
|
|
<li><%= link_to("发送", 'javascript:void(0)',:class => "postOptionLink",:onclick=>"show_send('#{activity.id}',#{User.current.id},'news')") %></li>
|
|
|
|
|
<% else %>
|
|
|
|
|
<li><%= link_to("发送", 'javascript:void(0)',:class => "postOptionLink",:onclick=>"show_send_hidden('#{activity.id}',#{User.current.id},'news')") %></li>
|
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
|
|
<li>
|
|
|
|
|
<%= link_to(l(:button_edit), {:controller => 'news', :action => 'edit', :id => activity}, :class => 'postOptionLink') if activity.author == User.current %>
|
|
|
|
|
</li>
|
|
|
|
|