2016-07-22 16:00:56 +08:00
|
|
|
<p style="position:relative; display:inline;"><% if syllabus.eng_name && !syllabus.eng_name.empty? %>
|
2016-07-22 10:20:28 +08:00
|
|
|
<span><%=syllabus.eng_name %></span>
|
2016-07-01 11:11:53 +08:00
|
|
|
<% else%>
|
2016-07-22 16:00:56 +08:00
|
|
|
<span style="color: #888">课程英文名称</span>
|
2016-07-01 11:11:53 +08:00
|
|
|
<% end %>
|
2016-07-13 09:49:24 +08:00
|
|
|
<% if User.current == syllabus.user || User.current.admin? %>
|
2016-07-22 16:38:09 +08:00
|
|
|
<%= link_to image_tag("../images/signature_edit.png",width:"12px", height: "12px"), "javascript:void(0);",:id => "syllabus_edit_ng_name_png", :style => "width:15px; position:absolute; right: -20px; top: 5px;", :class => "none", :onclick => "show_edit_eng_name('#{syllabus.eng_name}');"%>
|
2016-07-22 10:20:28 +08:00
|
|
|
<% end %>
|
|
|
|
</p>
|