Pārlūkot izejas kodu

Anomalie #806: Liste de lecture publique

Bastien Sevajol 13 gadus atpakaļ
vecāks
revīzija
af692e3176

+ 1 - 1
src/Muzich/PlaylistBundle/Resources/views/Show/user.html.twig Parādīt failu

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