added description for the song list

This commit is contained in:
Harry Bomrah 2015-10-08 14:59:37 +08:00
parent d87846c5c7
commit 08790df8f9
1 changed files with 10 additions and 0 deletions

View File

@ -26,6 +26,7 @@
<%= song_list.name %>
<div class="quick-edit">
<ul class="nav nav-pills">
<li><a href="#" class="detail-row" onclick="$('#<%= "#{song_list.id.to_s}-detail" %>').slideToggle(300); return false;"><%= t("nccu_com_vnccu_program.description") %></a></li>
<% if can_edit_or_delete?(song_list) %>
<li><a href="#" class="delete text-error" rel="/admin/nccu_com_vnccu_program_song_lists/<%=song_list.id.to_s%>"><%= t(:delete_) %></a></li>
<% end %>
@ -38,6 +39,15 @@
<td><%= song_list.email %></td>
<td><a href="/admin/nccu_com_vnccu_program_song_lists/<%=song_list.id.to_s%>/edit" class="btn"><%= t(:edit) %></a></td>
</tr>
<tr class="footable-row-detail">
<td class="footable-cell-detail" colspan="6">
<div id="<%= "#{song_list.id.to_s}-detail" %>" class="footable-row-detail-inner" style="display: none;">
<div>
<strong><%= t("nccu_com_vnccu_program.description") %></strong> : <%= song_list.description %>
</div>
</div>
</td>
</tr>
<% end %>
</tbody>
</table>