修复课程总学时结果,总学时=理论学时+时间学时

This commit is contained in:
daiao 2016-07-19 17:39:20 +08:00
parent 7808bb5ebe
commit 763ebcbf74
1 changed files with 4 additions and 4 deletions

View File

@ -8,16 +8,16 @@
<li><label>课程性质:</label><%=syllabus.syllabus_type_str %></li>
<% end %>
<% unless syllabus.credit.nil? || syllabus.credit == '' %>
<li><label>学分:</label><%=syllabus.credit %></li>
<li><label>学分:</label><%= syllabus.credit %></li>
<% end %>
<% unless syllabus.hours.nil? || syllabus.hours == '' %>
<li><label>总学时:</label><%=syllabus.hours %></li>
<li><label>总学时:</label><%= syllabus.theory_hours + syllabus.practice_hours %></li>
<% end %>
<% unless syllabus.theory_hours.nil? || syllabus.theory_hours == '' %>
<li><label>理论学时:</label><%=syllabus.theory_hours %></li>
<li><label>理论学时:</label><%= syllabus.theory_hours %></li>
<% end %>
<% unless syllabus.practice_hours.nil? || syllabus.practice_hours == '' %>
<li><label>实践学时:</label><%=syllabus.practice_hours %></li>
<li><label>实践学时:</label><%= syllabus.practice_hours %></li>
<% end %>
<% unless syllabus.applicable_major.nil? || syllabus.applicable_major == '' %>
<li><label>适用专业:</label><%=syllabus.applicable_major %></li>