From 9cbaf8e4fc8c7769847351dcf5d3216be0d69ca4 Mon Sep 17 00:00:00 2001 From: caishi <1149225589@qq.com> Date: Fri, 13 Oct 2017 19:49:07 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89=E7=BC=96=E8=BE=91=E8=AF=95?= =?UTF-8?q?=E5=8D=B7=E9=87=8C=E9=9D=A2=E7=9A=84=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/exercise/edit.html.erb | 2 +- .../subjects/_course_shixun_list.html.erb | 38 ++++++++++--------- app/views/users/_course_message.html.erb | 13 ++++--- app/views/users/_homework_base_info.html.erb | 5 ++- 4 files changed, 32 insertions(+), 26 deletions(-) diff --git a/app/views/exercise/edit.html.erb b/app/views/exercise/edit.html.erb index f1477c0e5..e67399309 100644 --- a/app/views/exercise/edit.html.erb +++ b/app/views/exercise/edit.html.erb @@ -7,7 +7,7 @@

编辑试卷

<%= link_to "返回", student_exercise_list_exercise_path(@exercise), :class => "fr font-12 color-grey mr15 mt5" %> - <%= link_to "设置", student_exercise_list_exercise_path(@exercise, :tab => 3), :class => "fr font-12 mr15 mt5 color-grey" %> + <%#= link_to "设置", student_exercise_list_exercise_path(@exercise, :tab => 3), :class => "fr font-12 mr15 mt5 color-grey" %>
<%= render :partial => "exercise/edu_edit_form", :locals => {:is_edit => true} %> diff --git a/app/views/subjects/_course_shixun_list.html.erb b/app/views/subjects/_course_shixun_list.html.erb index 8171c479a..9f3db4d36 100644 --- a/app/views/subjects/_course_shixun_list.html.erb +++ b/app/views/subjects/_course_shixun_list.html.erb @@ -1,5 +1,6 @@ -
- <% if @shixuns.count > 0 %> + +<% if @shixuns.count > 0 %> +
@@ -23,23 +24,26 @@ <% end %>
+

请至少选择一个实训

+
+
+
+
    + <%= pagination_links_full @shixuns_pages, @shixuns_count, :per_page_links => false, :flag => true, :remote => true, :is_new => true %> +
+
+
+
+ 选择 + 取消 +
+
<% else %> -

没有实训可选择

+
+

你没有参与任何实训的创建,没有数据可以选择

+

<%= link_to "立即新建".html_safe, new_subject_path(),:target => "true", :class => "white-btn orange-btn" %>

+
<% end %> -

请至少选择一个实训

-
-
-
- -
-
-
- 选择 - 取消 -
-