From 1fc2bbd56ace20c0e228e8448556d248983871d6 Mon Sep 17 00:00:00 2001 From: Tim Date: Tue, 19 Jul 2016 09:17:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=9C=E4=B8=9A=E8=B5=84=E6=BA=90=E5=BA=93?= =?UTF-8?q?=E5=BC=B9=E6=A1=86=EF=BC=8C=E8=B5=84=E6=BA=90=E5=90=8D=E7=A7=B0?= =?UTF-8?q?=E4=B8=8E=E4=B8=8A=E4=BC=A0=E8=80=85=E6=A0=8F=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E5=AE=BD=E5=BA=A6=E9=99=90=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/users/_homework_ref_resources_list.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/users/_homework_ref_resources_list.html.erb b/app/views/users/_homework_ref_resources_list.html.erb index 356e412e7..6e746e8d4 100644 --- a/app/views/users/_homework_ref_resources_list.html.erb +++ b/app/views/users/_homework_ref_resources_list.html.erb @@ -9,14 +9,14 @@
  • value="<%= attach.id%>" class="resourcesCheckbox" />
  • -
  • +
  • <%= number_to_human_size(attach.filesize) %>
  • <%= get_resource_type(attach.container_type)%>
  • -
  • <%=User.find(attach.author_id).realname.blank? ? User.find(attach.author_id).nickname : User.find(attach.author_id).realname %>
  • +
  • <%= attach.author_id %>
  • <%= format_date(attach.created_on) %>
  • <%= attach.id %>