|
|
|
@ -1,14 +1,10 @@
|
|
|
|
|
<!-- <h3> --><!-- %=l(:label_attachment_plural)%></h3 -->
|
|
|
|
|
<style>
|
|
|
|
|
table {
|
|
|
|
|
line-height: 20px;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
}
|
|
|
|
|
#ver-zebra
|
|
|
|
|
<style>
|
|
|
|
|
#ver-zebra, .file_table_des
|
|
|
|
|
{
|
|
|
|
|
font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
margin: 20px;
|
|
|
|
|
margin: 5px 10px;
|
|
|
|
|
width: 98%;
|
|
|
|
|
text-align: left;
|
|
|
|
|
border-collapse: collapse;
|
|
|
|
@ -66,22 +62,21 @@
|
|
|
|
|
<!-- %= link_to(l(:label_attachment_new), new_project_file_path(@project), :class => 'icon icon-add') if User.current.member_of?(@project) % -->
|
|
|
|
|
<% end %>
|
|
|
|
|
</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">
|
|
|
|
|
<table class="list files" id="ver-zebra" style="line-height: 20px; font-size: 14px;">
|
|
|
|
|
<colgroup>
|
|
|
|
|
<col class="vzebra-odd" />
|
|
|
|
|
<col class="vzebra-even" />
|
|
|
|
|
<col class="vzebra-odd" />
|
|
|
|
|
<col class="vzebra-even" />
|
|
|
|
|
</colgroup>
|
|
|
|
|
<col class="vzebra-even" />
|
|
|
|
|
</colgroup>
|
|
|
|
|
<thead><tr>
|
|
|
|
|
<%= sort_header_tag('filename', :caption => l(:field_filename), :scope =>"col" , :id => "vzebra-adventure")%>
|
|
|
|
|
<%= sort_header_tag('created_on', :caption => l(:label_date), :default_order => 'desc', :scope =>"col" , :id => "vzebra-comedy")%>
|
|
|
|
|
<%= sort_header_tag('size', :caption => l(:field_filesize), :default_order => 'desc', :scope =>"col", :id=> "vzebra-children")%>
|
|
|
|
|
<%= sort_header_tag('downloads', :caption => l(:field_downloads), :default_order => 'desc', :scope =>"col", :id => "vzebra-action") %>
|
|
|
|
|
<%= sort_header_tag('downloads', :caption => "操作", :scope =>"col", :id => "vzebra-children") %>
|
|
|
|
|
<%= sort_header_tag('downloads', :caption => "", :scope =>"col", :id => "vzebra-children") %>
|
|
|
|
|
<!-- <%= sort_header_tag('description', :caption => l(:field_description)) %> -->
|
|
|
|
|
</tr></thead>
|
|
|
|
|
<tbody>
|
|
|
|
|