Explorar el Código

Anomalie #806: Liste de lecture publique

Bastien Sevajol hace 11 años
padre
commit
af692e3176
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/Muzich/PlaylistBundle/Resources/views/Show/user.html.twig

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

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