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:
@ -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">
|
||||
|
Reference in New Issue
Block a user