调整issue 列表操作按钮

dev_aliyun
杨树明 5 years ago
parent db2d5af826
commit df717b6cc2

@ -3,6 +3,7 @@
<% if User.current.admin? || (User.current.logged? ) %> <% if User.current.admin? || (User.current.logged? ) %>
<% if User.current.admin? || ((is_project_manager?(User.current, project) || file.author_id == User.current.id) && project_contains_attachment?(project, file)) %> <% if User.current.admin? || ((is_project_manager?(User.current, project) || file.author_id == User.current.id) && project_contains_attachment?(project, file)) %>
<% if User.current.admin? || ((delete_allowed || User.current.id == file.author_id) && file.container_id == project.id && file.container_type == "Project") %> <% if User.current.admin? || ((delete_allowed || User.current.id == file.author_id) && file.container_id == project.id && file.container_type == "Project") %>
<i class="fa fa-align-justify">
<ul class="homepagePostSettiongText"> <ul class="homepagePostSettiongText">
<% if hidden_unproject_infos %> <% if hidden_unproject_infos %>
<li><%= link_to("发&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;送".html_safe, 'javascript:void(0)',:class => "postOptionLink",:onclick=>"show_send('#{file.id}','#{User.current.id}','file')") %></li> <li><%= link_to("发&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;送".html_safe, 'javascript:void(0)',:class => "postOptionLink",:onclick=>"show_send('#{file.id}','#{User.current.id}','file')") %></li>
@ -34,8 +35,10 @@
<% end %> <% end %>
</li> </li>
</ul> </ul>
</i>
<% end %> <% end %>
<% else %> <% else %>
<i class="fa fa-align-justify">
<ul class="resourceSendO"> <ul class="resourceSendO">
<% if hidden_unproject_infos %> <% if hidden_unproject_infos %>
<li><%= link_to("发&nbsp;&nbsp;送".html_safe, 'javascript:void(0)',:class => "postOptionLink2",:onclick=>"show_send('#{file.id}','#{User.current.id}','file')") %></li> <li><%= link_to("发&nbsp;&nbsp;送".html_safe, 'javascript:void(0)',:class => "postOptionLink2",:onclick=>"show_send('#{file.id}','#{User.current.id}','file')") %></li>
@ -43,6 +46,7 @@
<li><%= link_to("发&nbsp;&nbsp;送".html_safe, 'javascript:void(0)',:class => "postOptionLink2",:onclick=>"show_send_hidden('#{file.id}','#{User.current.id}','file')") %></li> <li><%= link_to("发&nbsp;&nbsp;送".html_safe, 'javascript:void(0)',:class => "postOptionLink2",:onclick=>"show_send_hidden('#{file.id}','#{User.current.id}','file')") %></li>
<% end %> <% end %>
</ul> </ul>
</i>
<% end %> <% end %>
<% end %> <% end %>
</li> </li>

@ -1584,7 +1584,7 @@ a.newcolor-grey3:hover{
color:#747A7F !important; color:#747A7F !important;
} }
.homepagePostSetting{ .homepagePostSetting{
display:none; /*display:none;*/
} }
#describe{ #describe{
width: 100%; width: 100%;

Loading…
Cancel
Save