修改课程详细信息界面教师单位为开设课程单位
This commit is contained in:
parent
205c78454f
commit
a594326bce
|
@ -202,18 +202,18 @@
|
|||
<% unless @course.teacher.user_extensions.nil? || @course.teacher.user_extensions.school.nil? %>
|
||||
<tr>
|
||||
<td valign="top" style="padding-left: 8px;">
|
||||
<%= l(:label_teacher_work_unit) %> :
|
||||
<%= l(:label_course_organizers) %> :
|
||||
</td>
|
||||
<td class="font_lighter_sidebar">
|
||||
<a href="http://<%= Setting.host_course%>/?school_id=<%= @course.teacher.user_extensions.school.id%>">
|
||||
<%= @course.teacher.user_extensions.school %>
|
||||
<a href="http://<%= Setting.host_course%>/?school_id=<%= @course.school.id%>">
|
||||
<%= @course.school %>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<% else %>
|
||||
<tr>
|
||||
<td valign="top" style="padding-left: 8px;">
|
||||
<%= l(:label_teacher_work_unit) %> :
|
||||
<%= l(:label_course_organizers) %> :
|
||||
</td>
|
||||
<td class="font_lighter_sidebar">
|
||||
<%= l(:field_course_un) %>
|
||||
|
|
|
@ -2169,3 +2169,4 @@ zh:
|
|||
label_no_contest_news_title: 竞赛标题不能为空
|
||||
label_contest_news_title_condition: 竞赛标题超过255个汉字
|
||||
label_subject_empty: 主题不能为空
|
||||
label_course_organizers: 开设单位
|
||||
|
|
Loading…
Reference in New Issue