mirror of
https://github.com/spl0k/supysonic.git
synced 2024-12-22 17:06:17 +00:00
Check id of the user who created the playlist
This commit is contained in:
parent
be88f5fb78
commit
d05889df5b
@ -16,7 +16,7 @@
|
|||||||
<div class="page-header first-header">
|
<div class="page-header first-header">
|
||||||
<h2>Playlist "{{ playlist.name }}"</h2>
|
<h2>Playlist "{{ playlist.name }}"</h2>
|
||||||
</div>
|
</div>
|
||||||
{% if playlist.user_id == request.user.id %}
|
{% if playlist.user.id == request.user.id %}
|
||||||
<h3>Edit</h3>
|
<h3>Edit</h3>
|
||||||
<form method="post">
|
<form method="post">
|
||||||
<table id="playlist" class="table">
|
<table id="playlist" class="table">
|
||||||
|
Loading…
Reference in New Issue
Block a user