progress
This commit is contained in:
@@ -12,9 +12,11 @@
|
||||
{{ $thread->name }}
|
||||
</div>
|
||||
<div class="col-md-2">
|
||||
<a href="{{ route('forums.thread.topics.create', [$category->slug ?? 'unknown', $thread->slug]) }}" class="btn btn-primary">
|
||||
New topic
|
||||
</a>
|
||||
@if(auth()->check())
|
||||
<a href="{{ route('forums.thread.topics.create', [$category->slug ?? 'unknown', $thread->slug]) }}" class="btn btn-primary pull-right">
|
||||
New topic
|
||||
</a>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
</h1>
|
||||
@@ -50,7 +52,7 @@
|
||||
</div>
|
||||
<div class="col-md-8">
|
||||
<a href="{{ route('forums.thread.topics.show', [$category->slug ?? 'unknown', $thread->slug, $topic->slug]) }}">{{ $topic->name }}</a> <br>
|
||||
<small>Created by {{ $topic->author->name ?? 'Unknown User' }} {{ $topic->created_at ? $topic->created_at->diffForHumans() : 'N/A' }}</small>
|
||||
<small>Created by <a href="">{{ $topic->author->name ?? 'Unknown User' }}</a> {{ $topic->created_at ? $topic->created_at->diffForHumans() : 'N/A' }}</small>
|
||||
</div>
|
||||
<div class="col-md-1">
|
||||
<span title="Views"><span class="iconify me-1" data-icon="mdi-eye"></span> {{ $topic->views_no }}</span><br>
|
||||
|
||||
Reference in New Issue
Block a user