소스 검색

Ajout du tooltip en ligne/hors ligne

François Drouhard 5 년 전
부모
커밋
b69e742198
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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 %}