From ba11fe25b5db9ac93d82646c241b637514c750af Mon Sep 17 00:00:00 2001 From: z9hang Date: Fri, 21 Nov 2014 15:02:34 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=A8=E7=AB=99=E6=90=9C=E7=B4=A2=E8=B5=84?= =?UTF-8?q?=E6=BA=90=E5=90=8E=E5=88=97=E8=A1=A8=E4=B8=AD=E5=8F=AA=E8=83=BD?= =?UTF-8?q?=E5=88=A0=E9=99=A4=E5=BD=93=E5=89=8D=E8=AF=BE=E7=A8=8B=E7=9A=84?= =?UTF-8?q?=E8=B5=84=E6=BA=90=EF=BC=8C=E4=B8=94=E9=9C=80=E6=9C=89=E5=88=A0?= =?UTF-8?q?=E9=99=A4=E8=B5=84=E6=BA=90=E7=9A=84=E6=9D=83=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/files/_course_list.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/files/_course_list.html.erb b/app/views/files/_course_list.html.erb index df0e837f2..fced58604 100644 --- a/app/views/files/_course_list.html.erb +++ b/app/views/files/_course_list.html.erb @@ -35,7 +35,7 @@

文件大小:<%= number_to_human_size(file.filesize) %>

<%= link_to( l(:button_delete), attachment_path(file), - :data => {:confirm => l(:text_are_you_sure)}, :method => :delete,:class => "f_r re_de") if delete_allowed %> + :data => {:confirm => l(:text_are_you_sure)}, :method => :delete,:class => "f_r re_de") if delete_allowed && file.container_id == @course.id && file.container_type == "Course"%>

<%= time_tag(file.created_on).html_safe %><%= l(:label_bids_published_ago) %>  |  下载<%= file.downloads %>  |  引用0