From f90a1560f3b55ab198be6bc068c30c09041466df Mon Sep 17 00:00:00 2001 From: SylorHuang Date: Wed, 10 Jul 2019 18:17:06 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9A=90=E8=97=8F=E5=80=92=E5=85=A5=E6=88=90?= =?UTF-8?q?=E7=BB=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/student_work/index.html.erb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/app/views/student_work/index.html.erb b/app/views/student_work/index.html.erb index 0e66401c..76a79414 100644 --- a/app/views/student_work/index.html.erb +++ b/app/views/student_work/index.html.erb @@ -232,9 +232,9 @@ -->
  • - <% if User.current.admin? && @homework.homework_type == 1 %> - 导入成绩 - <% end %> + <%# if User.current.admin? && @homework.homework_type == 1 %> + + <%# end %> <% if User.current.admin? && @homework.homework_type == 4 %> <% if @stundet_works.select {|work| work.work_status != 0}.length == 0 %> <%= link_to "导出实训报告", "javascript:void(0)", class: "fl white-btn orange-btn mt10", :onclick => "notice_box('该检索条件下没有已提交的作品,无法导出实训报告')", :id => "export_student_work_shixun" %> @@ -244,9 +244,9 @@ <% end %> <% end %> - <% if User.current.admin? %> - 质量检测 - <% end %> + <%# if User.current.admin? %> + + <%# end %>