summaryrefslogtreecommitdiffstats
path: root/templates/show_playlist_song_row.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/show_playlist_song_row.inc.php')
-rw-r--r--templates/show_playlist_song_row.inc.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/show_playlist_song_row.inc.php b/templates/show_playlist_song_row.inc.php
index 354f8419..50af6dec 100644
--- a/templates/show_playlist_song_row.inc.php
+++ b/templates/show_playlist_song_row.inc.php
@@ -32,4 +32,7 @@
<?php echo get_user_icon('download',_('Download')); ?>
</a>
<?php } ?>
+ <?php if ($playlist->has_access()) { ?>
+ <?php echo Ajax::button('?page=playlist&action=delete_track&playlist_id=' . $playlist->id . '&track=' . $object['track_id'],'delete',_('Delete'),'track_del_' . $object['track_id']); ?>
+ <?php } ?>
</td>