added description for the song list
This commit is contained in:
parent
d87846c5c7
commit
08790df8f9
|
@ -26,6 +26,7 @@
|
||||||
<%= song_list.name %>
|
<%= song_list.name %>
|
||||||
<div class="quick-edit">
|
<div class="quick-edit">
|
||||||
<ul class="nav nav-pills">
|
<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) %>
|
<% 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>
|
<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 %>
|
<% end %>
|
||||||
|
@ -38,6 +39,15 @@
|
||||||
<td><%= song_list.email %></td>
|
<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>
|
<td><a href="/admin/nccu_com_vnccu_program_song_lists/<%=song_list.id.to_s%>/edit" class="btn"><%= t(:edit) %></a></td>
|
||||||
</tr>
|
</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 %>
|
<% end %>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
Loading…
Reference in New Issue