Move user status

This commit is contained in:
Visman 2023-02-14 15:07:20 +07:00
parent ae93a73d9a
commit 2a9e27549d
3 changed files with 6 additions and 6 deletions
app
lang/ru
templates
public/style/ForkBB

View file

@ -46,10 +46,10 @@ msgid "Website"
msgstr "Сайт"
msgid "Online"
msgstr "Активен"
msgstr "Online"
msgid "Offline"
msgstr "Вне форума"
msgstr "Offline"
msgid "Last edit"
msgstr "Последний раз отредактировано %1$s (%2$s)"

View file

@ -82,6 +82,9 @@
<li class="f-username">{{ $post->user->username }}</li>
@endif
<li class="f-usertitle">{{ $post->user->title() }}</li>
@if (! $post->user->isGuest)
<li class="f-userstatus">{!! __($post->user->online ? 'Online' : 'Offline') !!}</li>
@endif
@if ($p->user->showUserInfo && $p->user->showPostCount && $post->user->num_posts)
<li class="f-postcount">{!! __(['%s post', $post->user->num_posts, num($post->user->num_posts)]) !!}</li>
@endif
@ -118,9 +121,6 @@
</div>
<footer class="f-post-footer">
<div class="f-post-footer-add">
@if (! $post->user->isGuest)
<span class="f-userstatus">{!! __($post->user->online ? 'Online' : 'Offline') !!}</span>
@endif
</div>
@if ($post->canReport || $post->canDelete || $post->canEdit || $post->canQuote)
<div class="f-post-btns">

View file

@ -1528,7 +1528,7 @@ body,
}
#fork .f-userstatus {
display: none;
display: none !important;
}
#fork .f-post-main {