|
@@ -30,22 +30,18 @@
|
|
|
<tr>
|
|
|
<td>
|
|
|
{% if film.usersWantToView.contains(app.user) %}
|
|
|
- <a href="#" class="boutonVoir" data-content="{{ film.id }}"><i class="fa fa-star"></i></a>
|
|
|
+ <a href="#" class="boutonVoir" data-content="{{ film.id }}"><i class="fa fa-star fa-lg"></i></a>
|
|
|
{% else %}
|
|
|
- <a href="#" class="boutonVoir" data-content="{{ film.id }}"><i class="fa fa-star-o"></i></a>
|
|
|
+ <a href="#" class="boutonVoir" data-content="{{ film.id }}"><i class="fa fa-star-o fa-lg"></i></a>
|
|
|
|
|
|
{% endif %}
|
|
|
</td>
|
|
|
<td>
|
|
|
{% if film.usersWhoSeen.contains(app.user) %}
|
|
|
<a href="#" class="boutonVu" data-content="{{ film.id }}"><i class="badge badge-secondary">Pas vu</i><i class="badge badge-success">Vu</i></a>
|
|
|
- {#<a href="#" class="boutonVu" data-content="{{ film.id }}"><i class="badge badge-success">Vu</i></a>#}
|
|
|
{% else %}
|
|
|
<a href="#" class="boutonVu" data-content="{{ film.id }}"><i class="badge badge-danger">Pas vu</i><i class="badge badge-secondary">Vu</i></a>
|
|
|
- {#<a href="#" class="boutonVu" data-content="{{ film.id }}"><i class="badge badge-secondary">Pas vu</i></a>#}
|
|
|
{% endif %}
|
|
|
- {#<a href="#" class="boutonTest" data-content="{{ film.id }}"><li class="badge badge-secondary">Pas vu</li><li class="badge badge-success">Vu</li></a>#}
|
|
|
-
|
|
|
|
|
|
</td>
|
|
|
<td>
|
|
@@ -74,10 +70,10 @@
|
|
|
{% endif %}
|
|
|
</td>
|
|
|
<td>{{ film.annee | date('Y') }}</td>
|
|
|
- <td>{% if not film.lien == "" %}<a target="_blank" href="{{ film.lien }}"><i class="fa fa-external-link"></i></a>{% endif %}</td>
|
|
|
+ <td>{% if not film.lien == "" %}<a target="_blank" href="{{ film.lien }}"><i class="fa fa-external-link fa-lg"></i></a>{% endif %}</td>
|
|
|
<td>
|
|
|
- {% if is_granted('ROLE_ADMIN') %}<a href="{{ path('videotheque_supprimer', {'id': film.id}) }}"><i class="fa fa-trash", style="color:Tomato;"></i></a>{% endif %}
|
|
|
- <a href="{{ path('videotheque_modifier', {'id': film.id}) }}"><i class="fa fa-edit", style="color:DodgerBlue;"></i></a>
|
|
|
+ {% if is_granted('ROLE_ADMIN') %}<a href="{{ path('videotheque_supprimer', {'id': film.id}) }}"><i class="fa fa-trash fa-lg", style="color:Tomato;"></i></a>{% endif %}
|
|
|
+ <a href="{{ path('videotheque_modifier', {'id': film.id}) }}"><i class="fa fa-edit fa-lg", style="color:DodgerBlue;"></i></a>
|
|
|
</td>
|
|
|
</tr>
|
|
|
{% endfor %}
|
|
@@ -89,7 +85,7 @@
|
|
|
<script src="{{ asset('bundles/app/assets/suivifilms.js') }}"></script>
|
|
|
<script>
|
|
|
$(document).ready(function() {
|
|
|
- ecouterSuivi('boutonVoir', '', 'fa fa-star', '', 'fa fa-star-o', '{{ path('maliste_modifier_a_voir') }}');
|
|
|
+ ecouterSuivi('boutonVoir', '', 'fa fa-star fa-lg', '', 'fa fa-star-o fa-lg', '{{ path('maliste_modifier_a_voir') }}');
|
|
|
ecouterVu('boutonVu', 'badge badge-success', 'badge badge-danger', 'badge badge-secondary' ,'{{ path('maliste_modifier_vus') }}');
|
|
|
});
|
|
|
</script>
|