资料权限问题
This commit is contained in:
parent
3536883248
commit
2d6fdc1d5a
|
@ -1,6 +1,8 @@
|
|||
<% if @project.project_type == 1 %>
|
||||
<div class="contextual" style="padding-right: 540px;padding-top: 5px;">
|
||||
<% if User.current.member_of?(@project) %>
|
||||
<%= link_to(l(:label_file_upload), new_project_file_path(@project), :class => 'icon icon-add') if User.current.allowed_to?(:manage_files, @project) %>
|
||||
<% end %>
|
||||
</div>
|
||||
<% else %>
|
||||
<div class="contextual" style="padding-right: 540px;padding-top: 5px;">
|
||||
|
@ -50,3 +52,4 @@
|
|||
</table>
|
||||
|
||||
<% html_title(l(:label_attachment_plural)) -%>
|
||||
|
||||
|
|
Loading…
Reference in New Issue