Explorar o código

Couleur badge nbComs

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

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

@@ -30,7 +30,7 @@
 		</p>
 	</div>
 	<table
-		class="table table-bordered table-hover table-sm align-middle">
+		class="table table-bordered table-hover table-striped table-sm align-middle">
 		<thead class="">
 			<tr>
 				{% if is_granted('IS_AUTHENTICATED_REMEMBERED') %}
@@ -98,7 +98,7 @@
 				<td>
 					<a href="{{ path('videotheque_voirfilm', {'id': film.id}) }}"><span data-bs-toggle="tooltip" data-placement="right" title="{{ film.information }}">{{ film.titre }}</span></a>
 					{% if film.new %}<span class="badge bg-success">New</span>{% endif %}
-					{% if film.nbComs %}<span class="badge bg-warning rounded-pill" data-bs-toggle="tooltip" title="{{ film.nbComs }} commentaire(s)">{{ film.nbComs }}</span>{% endif %}
+					{% if film.nbComs %}<span class="badge bg-info rounded-pill" data-bs-toggle="tooltip" title="{{ film.nbComs }} commentaire(s)">{{ film.nbComs }}</span>{% endif %}
 
 				</td>
 				<td>