|
|
|
@ -1,12 +1,11 @@
|
|
|
|
|
<h3><!-- %=l(:label_attachment_plural)%></h3 -->
|
|
|
|
|
<!-- <h3> --><!-- %=l(:label_attachment_plural)%></h3 -->
|
|
|
|
|
|
|
|
|
|
<div class="contextual" style="float:left;padding-top: 5px;">
|
|
|
|
|
<div class="content-title-top">
|
|
|
|
|
<% if @project.project_type == 1 %>
|
|
|
|
|
<% 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) % -->
|
|
|
|
|
<%= link_to(l(:label_file_upload), new_project_file_path(@project), :class => 'icon icon-add') if User.current.member_of?(@project) %>
|
|
|
|
|
<% end %>
|
|
|
|
|
</div>
|
|
|
|
|
<% else %>
|
|
|
|
|
<%= link_to(l(:label_attachment_new), new_project_file_path(@project), :class => 'icon icon-add') if User.current.allowed_to?(:manage_files, @project) %>
|
|
|
|
|
<!-- %= link_to(l(:label_attachment_new), new_project_file_path(@project), :class => 'icon icon-add') if User.current.member_of?(@project) % -->
|
|
|
|
|