From fa788ced1beeb5af8b6b01997da8ed8d35392eba Mon Sep 17 00:00:00 2001 From: Tim Date: Mon, 16 May 2016 15:00:08 +0800 Subject: [PATCH 01/25] =?UTF-8?q?=E8=B5=84=E6=BA=90=E5=BA=93=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E7=A7=81=E6=9C=89=E8=B5=84=E6=BA=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/users/_resources_list.html.erb | 6 ++-- .../users/_user_resource_tip_list.html.erb | 1 + app/views/users/user_resource.html.erb | 5 ++- public/stylesheets/org.css | 2 +- public/stylesheets/public.css | 34 +++++-------------- 5 files changed, 18 insertions(+), 30 deletions(-) diff --git a/app/views/users/_resources_list.html.erb b/app/views/users/_resources_list.html.erb index b8551f7c5..57cc95c87 100644 --- a/app/views/users/_resources_list.html.erb +++ b/app/views/users/_resources_list.html.erb @@ -9,9 +9,11 @@ -
  • + <%= link_to truncate(attach.filename, :length => 30), download_named_attachment_path(attach.id, attach.filename), :title => attach.filename, :class => 'resourcesBlack resource-list-middle hidden mw280' %> + 私有
  • +
  • 请求分享
  • <%= format_date(attach.created_on) %>
  • <%= attach.quotes.nil? ? 0 : attach.quotes %>
  • <%= attach.downloads %>
  • diff --git a/app/views/users/_user_resource_tip_list.html.erb b/app/views/users/_user_resource_tip_list.html.erb index 5d5876ac8..67fe292ee 100644 --- a/app/views/users/_user_resource_tip_list.html.erb +++ b/app/views/users/_user_resource_tip_list.html.erb @@ -1,6 +1,7 @@ <% end %> + + <% if ma.course_message_type == "ApplyResource" %> + + <% end %> <% if ma.course_message_type == "HomeworkCommon" && ma.status == 6 %> <% end %> - <% if ma.course_message_type == "ApplyResource" %> -