From ba9b22fbe180b72419cf48faf10aa53c104be975 Mon Sep 17 00:00:00 2001 From: huang Date: Thu, 3 Mar 2016 23:56:06 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=AC=E5=85=B1=E8=B5=84=E6=BA=90=EF=BC=8C?= =?UTF-8?q?=E5=88=A0=E9=99=A4=E3=80=81=E9=87=8D=E5=91=BD=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/users/_resources_list.html.erb | 7 +------ app/views/users/user_resource.html.erb | 2 +- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/app/views/users/_resources_list.html.erb b/app/views/users/_resources_list.html.erb index b9b74760a..4e429a640 100644 --- a/app/views/users/_resources_list.html.erb +++ b/app/views/users/_resources_list.html.erb @@ -13,19 +13,14 @@ <%= link_to truncate(attach.filename, :length => 30), download_named_attachment_path(attach.id, attach.filename), :title => attach.filename, :class => 'resourcesBlack' %>
  • <%= format_date(attach.created_on) %>
  • -
  • <%= attach.author_id %>
  • <%= attach.quotes.nil? ? 0 : attach.quotes %>
  • -
  • <%= attach.author_id %>
  • <%= attach.downloads %>
  • <%= attach.author_id %>
  • <%= number_to_human_size(attach.filesize) %>
  • -
  • <%= attach.author_id %>
  • -
  • <%= attach.author_id %>
  • <%= get_resource_type(attach.container_type)%>
  • -
  • <%= attach.author_id %>
  • -
  • <%= attach.author_id %>
  • +
  • <%= attach.id %>
  • <% end %> diff --git a/app/views/users/user_resource.html.erb b/app/views/users/user_resource.html.erb index 69122aaba..88e8e7140 100644 --- a/app/views/users/user_resource.html.erb +++ b/app/views/users/user_resource.html.erb @@ -73,7 +73,7 @@