Ver código fonte

Anomalie #806: Liste de lecture publique

Bastien Sevajol 11 anos atrás
pai
commit
af692e3176

+ 1 - 1
src/Muzich/PlaylistBundle/Resources/views/Show/user.html.twig Ver arquivo

@@ -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>