Update menu entries and fixes some profile picture problems.

Added help pages too.
This commit is contained in:
2026-06-28 14:07:20 +02:00
parent b562abd271
commit 755554293e
10 changed files with 107 additions and 9 deletions

View File

@@ -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">

View File

@@ -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">

View File

@@ -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

View File

@@ -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