removing unecessary lines
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
Antoine M 2024-09-23 09:34:11 +02:00
parent e02b5441d4
commit c9c18171d9

View File

@ -151,11 +151,9 @@ $level_post_ids = $wpdb->get_col("
<h3>Répartition des notes</h3>
<canvas id="graphic-rating-repartition"></canvas>
<ul>
<li class="rating-data" rating="<?php echo "1" ?>" count="2"><span class="data-label"><?php echo "1" ?></span> : <span class="data-value"><?php echo "2" ?></span> <span class="joueurs">joueurs</span></li>
<?php foreach ($ratings as $rating): ?>
<li class="rating-data" rating="<?php echo $rating->rating ?>" count="<?php echo $rating->count ?>"><span class="data-label"><?php echo $rating->rating ?></span> : <span class="data-value"><?php echo $rating->count ?></span> <span class="joueurs">joueurs</span></li>
<?php endforeach; ?>
<li class="rating-data" rating="<?php echo "2" ?>" count="2"><span class="data-label"><?php echo "2" ?></span> : <span class="data-value"><?php echo "2" ?></span> <span class="joueurs">joueurs</span></li>
</ul>
</div>