1
0
mirror of https://github.com/cp6/my-idlers.git synced 2024-11-16 23:42:32 +01:00

Updated servers public view ram value

Updated servers public view ram value
This commit is contained in:
cp6 2022-03-06 13:01:31 +11:00
parent 4d9883c7b9
commit 642eb5a5b9

View File

@ -50,8 +50,8 @@
<td class="text-center">{{$s->cpu}}</td> <td class="text-center">{{$s->cpu}}</td>
<td class="text-nowrap">{{$s->cpu_freq}}</td> <td class="text-nowrap">{{$s->cpu_freq}}</td>
<td class="text-nowrap"> <td class="text-nowrap">
@if($s->ram_as_mb > 1024) @if(isset($s->ram))
{{ number_format(($s->ram_as_mb / 1000),0) }}<small>GB</small> {{ $s->ram}}<small>{{ $s->ram_type}}</small>
@else @else
{{$s->ram_as_mb}}<small>MB</small> {{$s->ram_as_mb}}<small>MB</small>
@endif @endif