1
0
mirror of https://koodu.h-i.works/projects/thebadspace synced 2025-06-25 16:04:37 -05:00

updated rating display

rating percentages where showing long decimal ranges, so a quick tweak
as added to make them clean whole numbers.
This commit is contained in:
ro
2024-04-14 15:04:36 -06:00
parent a109b1b5c1
commit e9c238a922
3 changed files with 10 additions and 4 deletions

View File

@ -18,7 +18,7 @@
@endif
@php
$action = $location->block_count + $location->silence_count;
$rating = ($action / $sources_count)*100;
$rating = floor(($action / $sources_count)*100);
@endphp
<h3>Links</h3>
<div class="location-rating">