Update forum template

This commit is contained in:
Visman 2021-12-05 20:07:44 +07:00
parent e39a350e8f
commit 95613e85e6
2 changed files with 14 additions and 2 deletions

View file

@ -125,12 +125,13 @@
<small class="f-tnew"><a href="{{ $topic->linkNew }}" title="{{ __('New posts info') }}"><span class="f-newtxt">{!! __('New posts') !!}</span></a></small>
@endif
</h3>
<p><!-- inline -->
<p class="f-finfo-p">
<span class="f-cmposter">{!! __(['by %s', $topic->poster]) !!}</span>
<span class="f-cmposted">{{ dt($topic->posted) }}</span>
@if ($p->searchMode)
<span class="f-cmforum"><a href="{{ $topic->parent->link }}">{{ $topic->parent->forum_name }}</a></span>
@endif
<!-- endinline --></p>
</p>
</div>
</div>
<div class="f-cell f-cstats">

View file

@ -1300,11 +1300,22 @@ body,
position: relative;
}
#fork-forum .f-finfo-p {
display: flex;
flex-wrap: wrap;
}
#fork .f-cmposted {
font-size: 0.875rem;
opacity: 0.4;
}
#fork .f-cmposter,
#fork .f-cmforum {
font-size: 0.875rem;
}
#fork .f-cmposted::before,
#fork .f-cmforum::before {
content: ", ";
}