|
|
|
@ -55,14 +55,9 @@
|
|
|
|
|
<span class="borad-title"><%=(@project.project_type == 1) ? t(:label_user_course) : t(:label_project) %>文件共享专区</span>
|
|
|
|
|
|
|
|
|
|
<div class="content-title-top">
|
|
|
|
|
<% if @project.project_type == 1 %>
|
|
|
|
|
<% label_str = l(:label_file_upload) %>
|
|
|
|
|
<% else %>
|
|
|
|
|
<% label_str = l(:label_attachment_new) %>
|
|
|
|
|
<% end %>
|
|
|
|
|
<%= link_to(l(:label_attachment_new), new_project_file_path(@project), :class => 'icon icon-add') if User.current.allowed_to?(:manage_files, @project) %>
|
|
|
|
|
</div>
|
|
|
|
|
<span class="font_lighter file_table_des"><%=(@project.project_type == 1) ? t(:label_user_course) : t(:label_project) %>文件共享专区</span>
|
|
|
|
|
|
|
|
|
|
<% delete_allowed = User.current.allowed_to?(:manage_files, @project) %>
|
|
|
|
|
<table class="list files" id="ver-zebra" style="line-height: 20px; font-size: 14px;">
|
|
|
|
|
<colgroup>
|
|
|
|
|