Update templates and style
For username.
This commit is contained in:
parent
230e56b716
commit
a1e14494be
6 changed files with 8 additions and 8 deletions
|
@ -22,14 +22,14 @@
|
|||
<h2>{!! __($p->postsTitle) !!}</h2>
|
||||
@foreach ($p->posts as $post)
|
||||
@if ($post->id)
|
||||
<article id="p{{ $post->id }}" class="f-post">
|
||||
<article id="p{{ $post->id }}" class="f-post @if (1 == $post->user->gender) f-user-male @elseif (2 == $post->user->gender) f-user-female @endif">
|
||||
<header class="f-post-header">
|
||||
<span class="f-post-posted"><time datetime="{{ \gmdate('c', $post->posted) }}">{{ dt($post->posted) }}</time></span>
|
||||
<span class="f-post-number"><a href="{{ $post->link }}" rel="bookmark">#{{ $post->postNumber }}</a></span>
|
||||
</header>
|
||||
<address class="f-post-user">
|
||||
<div class="f-post-usticky">
|
||||
<ul class="f-user-info-first">
|
||||
<ul hidden class="f-user-info-first">
|
||||
<li class="f-username">{{ $post->poster }}</li>
|
||||
</ul>
|
||||
<ul class="f-user-info">
|
||||
|
|
|
@ -54,7 +54,7 @@
|
|||
</header>
|
||||
<address class="f-post-user">
|
||||
<div class="f-post-usticky">
|
||||
<ul class="f-user-info-first">
|
||||
<ul hidden class="f-user-info-first">
|
||||
@if ($p->user->viewUsers && $post->user->link)
|
||||
<li class="f-username"><a href="{{ $post->user->link }}" rel="author">{{ $post->user->username }}</a></li>
|
||||
@else
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
</header>
|
||||
<address class="f-post-user">
|
||||
<div class="f-post-usticky">
|
||||
<ul class="f-user-info-first">
|
||||
<ul hidden class="f-user-info-first">
|
||||
<li class="f-username">{{ $post->user->username }}</li>
|
||||
</ul>
|
||||
<ul class="f-user-info">
|
||||
|
|
|
@ -63,7 +63,7 @@
|
|||
</header>
|
||||
<address class="f-post-user">
|
||||
<div class="f-post-usticky">
|
||||
<ul class="f-user-info-first">
|
||||
<ul hidden class="f-user-info-first">
|
||||
@if ($p->user->viewUsers && $post->user->link)
|
||||
<li class="f-username"><a href="{{ $post->user->link }}" rel="author">{{ $post->user->username }}</a></li>
|
||||
@else
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
</header>
|
||||
<address class="f-post-user">
|
||||
<div class="f-post-usticky">
|
||||
<ul class="f-user-info-first">
|
||||
<ul hidden class="f-user-info-first">
|
||||
@if ($p->user->viewUsers && $post->user->link)
|
||||
<li class="f-username"><a href="{{ $post->user->link }}">{{ $post->user->username }}</a></li>
|
||||
@else
|
||||
|
|
|
@ -1453,9 +1453,9 @@ body,
|
|||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
#fork .f-user-info-first {
|
||||
/* #fork .f-user-info-first {
|
||||
display: none;
|
||||
}
|
||||
} */
|
||||
|
||||
#fork .f-avatar {
|
||||
order: 1;
|
||||
|
|
Loading…
Add table
Reference in a new issue