From b9550cedb935c1d36ba9fecf5bea98b436f22efc Mon Sep 17 00:00:00 2001
From: sw <939547590@qq.com>
Date: Wed, 28 May 2014 19:54:53 +0800
Subject: [PATCH] =?UTF-8?q?=E8=AF=BE=E7=A8=8B=E4=BD=9C=E4=B8=9A=E6=98=BE?=
=?UTF-8?q?=E7=A4=BA=E7=95=8C=E9=9D=A2=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
app/views/layouts/base_homework.html.erb | 87 +++++++++++++++++++-----
1 file changed, 71 insertions(+), 16 deletions(-)
diff --git a/app/views/layouts/base_homework.html.erb b/app/views/layouts/base_homework.html.erb
index cfdea4a5e..3f0ad6cf8 100644
--- a/app/views/layouts/base_homework.html.erb
+++ b/app/views/layouts/base_homework.html.erb
@@ -18,6 +18,8 @@
<%= yield :header_tags -%>
+ <% project = @bid.courses.first %>
+ <% course = Course.find_by_extra(project.identifier) %>
@@ -45,20 +47,30 @@
-
-
- 课程名: |
-
- <%= link_to @bid.courses.first.name.to_s, homework_project_path(@bid.courses.first) if @bid.courses.first %>
- |
-
-
- 作业名: |
-
- <%= h @bid.name %>
- |
-
-
-
+
+
+
+
-
+
+
+
+
+ <%= l(:label_new_course_description) %> : |
+
+
+
+
+
+
+
+ <%= l(:label_create_time) %> : |
+
+
+
+
+ 主讲老师 : |
+
+
+
+
+ <%= l(:label_class_period) %> : |
+
+
+
+
+ <%= l(:label_main_term) %> : |
+
+
+
+
+ <%= l(:label_teacher_work_unit) %> : |
+
+
+
+
+
+
+
<%= l(:label_limit_time) %>: <%= @bid.deadline %> |