Browse Source

Anomalie #806: Liste de lecture publique

Bastien Sevajol 11 years ago
parent
commit
af692e3176
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Muzich/PlaylistBundle/Resources/views/Show/user.html.twig

+ 1 - 1
src/Muzich/PlaylistBundle/Resources/views/Show/user.html.twig View File

@@ -98,7 +98,7 @@
98 98
             >
99 99
               {{ playlist.name }}
100 100
             </a>
101
-            {% if app.user|userId == playlist.owner.id %}
101
+            {% if app.user|userId == playlist.owner.id and playlist.public %}
102 102
               {{ 'playlist.public_word'|trans({}, 'elements') }}
103 103
             {% endif %}
104 104
           </div>