|
|
|
@ -20,7 +20,7 @@
|
|
|
|
|
<% subjects.each do |subject| %>
|
|
|
|
|
<tr class="subject-item-<%= subject.id %>">
|
|
|
|
|
<td class="text-left">
|
|
|
|
|
<%= link_to(subject.name, subject_path(subject), target: '_blank') %>
|
|
|
|
|
<%= link_to(subject.name, "/paths/#{subject.id}", target: '_blank') %>
|
|
|
|
|
<span class="badge badge-pill badge-success homepage-show-badge" style="<%= subject.homepage_show? ? '' : 'display:none' %>">首页</span>
|
|
|
|
|
<span class="badge badge-pill badge-info excellent-badge" style="<%= subject.excellent? ? '' : 'display:none' %>">金课</span>
|
|
|
|
|
</td>
|
|
|
|
|