François 6 жил өмнө
parent
commit
83aad4bd1f

+ 1 - 1
src/AppBundle/Resources/views/security/liste.html.twig

@@ -25,7 +25,7 @@
                     {% if user.activeNow %}
                         <i class="fa fa-user text-success"></i>
                     {% else %}
-                        <i class="fa fa-user text-secondary"></i>
+                        <i class="fa fa-user-o text-secondary"></i>
                     {% endif %}
                 </td>
                 <td>{{ user.username }}</td>

+ 1 - 1
src/AppBundle/Resources/views/videotheque/liste.html.twig

@@ -51,7 +51,7 @@
 						<i class="fa fa-user text-success"></i>
                     {% else %}
                         {#<span class="badge badge-secondary">Hors ligne</span>#}
-						<i class="fa fa-user text-secondary"></i>
+						<i class="fa fa-user-o text-secondary"></i>
                     {% endif %}
 					{{ film.authered.username }}
 				{% endif %}

+ 3 - 0
src/AppBundle/Resources/views/videotheque/voirfilm.html.twig

@@ -92,6 +92,9 @@
             <div class="list-group">
                 {% for commentaire in commentaires %}
                     <div class="list-group-item">
+                        {#{% if commentaire.user == app.user %}
+                            <a type="button" data-toggle="modal" data-target="#supprcommentaire" class="float-lg-right" id="supp_commentaire" href="#"><i class="fa fa-trash" style="color: Tomato"></i></a>
+                        {% endif %}#}
                         <h5 class="mb-1"><strong>Posté par {{ commentaire.user.username }}</strong></h5>
                         <p class="mb-1">{{ commentaire.contenu }}</p>
                     </div>