Explorar o código

Ancien code switch

François %!s(int64=5) %!d(string=hai) anos
pai
achega
cf475b189e
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      templates/videotheque/voirfilm.html.twig

+ 3 - 3
templates/videotheque/voirfilm.html.twig

@@ -9,9 +9,9 @@
         {% set follow_icone = "fa fa-star-o" %}
         {% set follow_texte = "Ajouter ce film à votre liste à voir" %}
     {% endif %}
-    <a href="#" data-fonction="follow"
-                data-icactif="fa fa-star"
-                data-icinactif="fa fa-star-o"
+    <a href="#" data-fonction="switch"
+                data-icone-actif="fa fa-star"
+                data-icone-inactif="fa fa-star-o"
                 data-path="{{ path('maliste_modifier_a_voir') }}"
                 data-toggle="tooltip"
                 title="{{ follow_texte }}"