Explorar o código

Ajout du tooltip en ligne/hors ligne

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

+ 2 - 2
templates/videotheque/liste.html.twig

@@ -71,9 +71,9 @@
 						<td>
 							{%  if film.authered is defined %}
 								{% if film.authered.activeNow %}
-									<i class="fa fa-user text-success"></i>
+									<i class="fa fa-user text-success" data-toggle="tooltip" title="En ligne"></i>
 								{% else %}
-									<i class="fa fa-user-o text-secondary"></i>
+									<i class="fa fa-user-o text-secondary" data-toggle="tooltip" title="Hors ligne"></i>
 								{% endif %}
 								{{ film.authered.username }}
 							{% endif %}