瀏覽代碼

Couleur badge nbComs

François Drouhard 2 年之前
父節點
當前提交
922332b203
共有 1 個文件被更改,包括 2 次插入2 次删除
  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>