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