|
|
|
@ -85,9 +85,10 @@
|
|
|
|
|
</div>
|
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
<div class="re_con_top">
|
|
|
|
|
<p class="f_l fontBlue f_b f_14" id="tip_attachment_count">
|
|
|
|
|
<%= render :partial => "files/tip_attachment_count" %>
|
|
|
|
|
</p>
|
|
|
|
|
<!--<p class="f_l fontBlue f_b f_14" id="tip_attachment_count">-->
|
|
|
|
|
<!--<%#= render :partial => "files/tip_attachment_count" %>-->
|
|
|
|
|
<!--</p>-->
|
|
|
|
|
<p class="f_l fontBlue f_b f_14">共有 <span id="attachment_count"><%= @all_attachments.count%></span> 个资源</p>
|
|
|
|
|
<p class="f_r" style="color: #808080">
|
|
|
|
|
<% if @order == "asc" %>
|
|
|
|
|
按 <%= link_to "时间",params.merge(:sort=>"created_on:desc"),:class => "f_b c_grey",:remote => @is_remote %><%= render partial: 'files/arrow_show',locals: { sort: @sort,order:@order,current:"created_on"} %> /
|
|
|
|
@ -102,14 +103,14 @@
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
<% if !User.current.member_of?(@project) && show_attachment_tip(@project.id, "Project") %>
|
|
|
|
|
<div class="resource_tip_box fontGrey2">
|
|
|
|
|
<em></em>
|
|
|
|
|
<span></span>
|
|
|
|
|
<p class="mb5">私有资源:<br/>仅对本项目成员可见</p>
|
|
|
|
|
<p>公共资源:<br/>对所有用户可见</p>
|
|
|
|
|
</div>
|
|
|
|
|
<% end %>
|
|
|
|
|
<%# if !User.current.member_of?(@project) && show_attachment_tip(@project.id, "Project") %>
|
|
|
|
|
<!--<div class="resource_tip_box fontGrey2">-->
|
|
|
|
|
<!--<em></em>-->
|
|
|
|
|
<!--<span></span>-->
|
|
|
|
|
<!--<p class="mb5">私有资源:<br/>仅对本项目成员可见</p>-->
|
|
|
|
|
<!--<p>公共资源:<br/>对所有用户可见</p>-->
|
|
|
|
|
<!--</div>-->
|
|
|
|
|
<%# end %>
|
|
|
|
|
</div>
|
|
|
|
|
<div id="course_list">
|
|
|
|
|
<%= render :partial => 'project_list',:locals => {project: @project, all_attachments: @all_attachments, sort:@sort, order:@order, project_attachments:@obj_attachments} %>
|
|
|
|
|