thebadspace/resources/views/front/listing.blade.php
Ro 65229edbab
Added Trusted Sources Count, added meta to links
Plugged in noted counts that detail how many times an instance as been
suspended or silenced by members of the Trusted Sources.

https://writer.oliphant.social/oliphant/trusted-source-membership

Also added some additional meta data to links displaying instances lists
so status and counts can be identified at a glance
2023-08-28 18:01:43 -07:00

27 lines
1.1 KiB
PHP

@extends('frame')
@section('title', 'The Bad Space|Listings')
@section('main-content')
@parent
<section>
<article role="list">
<h2>Page {{$pageNum}}</h2>
<a href="/listings/{{$prev}}">PREV</a>
{{$pageNum}} of {{$totalPages}}
<a href="/listings/{{$next}}">NEXT</a><br />
@foreach($locations as $location)
<a class="list-link" role="listitem" href="/location/{{$location->uuid}}">
@if($location->rating == 'silence')
<img class="menu-icon" src="/assets/images/global/status-silence.svg" title="status-silence" />
@else
<img class="menu-icon" src="/assets/images/global/status-suspend.svg" title="status-suspend" />
@endif
<label>{{$location->name}}</label>
<span>NOTED COUNT: {{$location->block_count}}</span>
</a>
@endforeach
<a href="/listings/{{$prev}}">PREV</a>
{{$pageNum}} of {{$totalPages}}
<a href="/listings/{{$next}}">NEXT</a>
</article>
</section>
@endsection