Update menu entries and fixes some profile picture problems.
Added help pages too.
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
<div class="comment-block">
|
||||
<x-xen-foro-avatar :user="$review->user_id" />
|
||||
<div class="comment-avatar">
|
||||
<x-xen-foro-avatar :user="$review->user_id" />
|
||||
</div>
|
||||
|
||||
<div class="comment-content">
|
||||
<div class="comment-meta">
|
||||
|
||||
@@ -42,7 +42,9 @@
|
||||
@continue
|
||||
@else
|
||||
<div class="comment-block">
|
||||
<div class="comment-avatar">
|
||||
<x-xen-foro-avatar :user="$comment['user_id']" />
|
||||
</div>
|
||||
|
||||
<div class="comment-content">
|
||||
<div class="comment-meta">
|
||||
|
||||
@@ -16,8 +16,11 @@
|
||||
|
||||
@foreach( $menu['items'] as $item )
|
||||
@if( !isset( $item['requires_auth'] ) || $item['requires_auth'] === true && $VISITOR->loggedIn() )
|
||||
<a href="{{ isset($item['xf_route']) ? xfRoute($item['xf_route']) : route($item['route']) }}"
|
||||
@class(['menu-item', 'active' => request()->routeIs( $item['route'] ?? '' )]) >
|
||||
<a href="{{ isset($item['xf_route']) ? xfRoute($item['xf_route']) : $item['custom_route'] ?? route($item['route']) }}"
|
||||
@class(['menu-item', 'active' => request()->routeIs( $item['route'] ?? '' )])
|
||||
style="{{ isset( $item['color'] ) ? 'color:' . $item['color'] . ';' : '' }}"
|
||||
{{ isset( $item['custom_route'] ) ? 'target="_blank"' : '' }}
|
||||
>
|
||||
<i data-lucide="{{ $item['icon'] }}"></i><span>{{ $item['name'] }}</span>
|
||||
</a>
|
||||
@endif
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
<i data-lucide="x-circle" size="12"></i>
|
||||
Rejected
|
||||
@php
|
||||
$daysLeft = intval(7 - now()->diffInDays($entry->rejected_at));
|
||||
$daysLeft = 7 + intval(now()->diffInDays($entry->rejected_at));
|
||||
@endphp
|
||||
@if($daysLeft > 0)
|
||||
- deleted in {{ $daysLeft }} days
|
||||
|
||||
Reference in New Issue
Block a user