Update topic templates and style
This commit is contained in:
parent
4f0c9c639f
commit
d5e3243b7b
5 changed files with 51 additions and 16 deletions
|
@ -19,9 +19,12 @@ msgid "Topic closed"
|
|||
msgstr "Topic closed"
|
||||
|
||||
msgid "From %s"
|
||||
msgstr "Location: %s"
|
||||
msgstr "<span>Location: </span>%s"
|
||||
|
||||
msgid "Promote user"
|
||||
msgstr "<span>Promote user</span>"
|
||||
|
||||
msgid "Promote user title"
|
||||
msgstr "Promote user"
|
||||
|
||||
msgid "IP address logged"
|
||||
|
@ -32,11 +35,11 @@ msgstr "Note:"
|
|||
|
||||
msgid "%s post"
|
||||
msgid_plural "%s posts"
|
||||
msgstr[0] "%s post"
|
||||
msgstr[1] "%s posts"
|
||||
msgstr[0] "%s<span> post</span>"
|
||||
msgstr[1] "%s<span> posts</span>"
|
||||
|
||||
msgid "Registered: %s"
|
||||
msgstr "Registered: %s"
|
||||
msgstr "<span>Registered: </span>%s"
|
||||
|
||||
msgid "Website"
|
||||
msgstr "Website"
|
||||
|
|
|
@ -19,9 +19,12 @@ msgid "Topic closed"
|
|||
msgstr "Тема закрыта"
|
||||
|
||||
msgid "From %s"
|
||||
msgstr "Локация: %s"
|
||||
msgstr "<span>Локация: </span>%s"
|
||||
|
||||
msgid "Promote user"
|
||||
msgstr "<span>Продвинуть пользователя</span>"
|
||||
|
||||
msgid "Promote user title"
|
||||
msgstr "Продвинуть пользователя"
|
||||
|
||||
msgid "IP address logged"
|
||||
|
@ -32,12 +35,12 @@ msgstr "Замечание"
|
|||
|
||||
msgid "%s post"
|
||||
msgid_plural "%s posts"
|
||||
msgstr[0] "%s сообщение"
|
||||
msgstr[1] "%s сообщения"
|
||||
msgstr[2] "%s сообщений"
|
||||
msgstr[0] "%s<span> сообщение</span>"
|
||||
msgstr[1] "%s<span> сообщения</span>"
|
||||
msgstr[2] "%s<span> сообщений</span>"
|
||||
|
||||
msgid "Registered: %s"
|
||||
msgstr "Здесь с %s"
|
||||
msgstr "<span>Здесь с </span>%s"
|
||||
|
||||
msgid "Website"
|
||||
msgstr "Сайт"
|
||||
|
|
|
@ -81,7 +81,7 @@
|
|||
<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>
|
||||
<li class="f-postcount"><span class="f-psfont">{!! __(['%s post', $post->user->num_posts, num($post->user->num_posts)]) !!}</span></li>
|
||||
@endif
|
||||
</ul>
|
||||
@if (! $post->user->isGuest && $p->user->showUserInfo)
|
||||
|
@ -89,9 +89,9 @@
|
|||
@if ($p->user->isAdmMod && '' != $post->user->admin_note)
|
||||
<li class="f-admin-note" title="{{ __('Admin note') }}">{{ $post->user->admin_note }}</li>
|
||||
@endif
|
||||
<li>{!! __(['Registered: %s', dt($post->user->registered, true)]) !!}</li>
|
||||
<li class="f-registered"><span class="f-psfont">{!! __(['Registered: %s', dt($post->user->registered, true)]) !!}</span></li>
|
||||
@if ($post->user->location)
|
||||
<li>{!! __(['From %s', $post->user->censorLocation]) !!}</li>
|
||||
<li class="f-location"><span class="f-psfont">{!! __(['From %s', $post->user->censorLocation]) !!}</span></li>
|
||||
@endif
|
||||
</ul>
|
||||
@endif
|
||||
|
|
|
@ -92,10 +92,10 @@
|
|||
<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>
|
||||
<li class="f-postcount"><span class="f-psfont">{!! __(['%s post', $post->user->num_posts, num($post->user->num_posts)]) !!}</span></li>
|
||||
@endif
|
||||
@if ($linkPromote = $p->user->linkPromote($post))
|
||||
<li class="f-promoteuser"><a href="{{ $linkPromote }}">{!! __('Promote user') !!}</a></li>
|
||||
<li class="f-promoteuser"><a href="{{ $linkPromote }}" title="{{ __('Promote user title') }}"><span class="f-psfont">{!! __('Promote user') !!}</span></a></li>
|
||||
@endif
|
||||
</ul>
|
||||
@if (! $post->user->isGuest && $p->user->showUserInfo)
|
||||
|
@ -103,9 +103,9 @@
|
|||
@if ($p->user->isAdmMod && '' != $post->user->admin_note)
|
||||
<li class="f-admin-note" title="{{ __('Admin note') }}">{{ $post->user->admin_note }}</li>
|
||||
@endif
|
||||
<li>{!! __(['Registered: %s', dt($post->user->registered, true)]) !!}</li>
|
||||
<li class="f-registered"><span class="f-psfont">{!! __(['Registered: %s', dt($post->user->registered, true)]) !!}</span></li>
|
||||
@if ($post->user->location)
|
||||
<li>{!! __(['From %s', $post->user->censorLocation]) !!}</li>
|
||||
<li class="f-location"><span class="f-psfont">{!! __(['From %s', $post->user->censorLocation]) !!}</span></li>
|
||||
@endif
|
||||
</ul>
|
||||
@endif
|
||||
|
|
|
@ -1590,6 +1590,35 @@ body,
|
|||
content: "\2022";
|
||||
padding-inline-end: 0.3125rem;
|
||||
}
|
||||
|
||||
.f-post-user .f-psfont::before {
|
||||
display: inline-block;
|
||||
font-family: "fa";
|
||||
font-weight: 900;
|
||||
padding-inline-end: 0.3125rem;
|
||||
}
|
||||
|
||||
.f-post-user .f-psfont > span {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.f-postcount > .f-psfont::before {
|
||||
font-weight: 400;
|
||||
content: "\f086";
|
||||
}
|
||||
|
||||
.f-registered > .f-psfont::before {
|
||||
content: "\f2f6";
|
||||
}
|
||||
|
||||
.f-location > .f-psfont::before {
|
||||
content: "\f041";
|
||||
}
|
||||
|
||||
.f-promoteuser > a > .f-psfont::before {
|
||||
padding-inline-end: 0;
|
||||
content: "\f007\f30c"; /* \e539 */
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 50rem) {
|
||||
|
|
Loading…
Add table
Reference in a new issue