mirror of https://github.com/LemmyNet/lemmy.git
Adding post listing separators. Hiding full score unless downvotes.
parent
64cad8bc3e
commit
784bcc646b
|
@ -463,11 +463,15 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
|
||||||
</span>
|
</span>
|
||||||
)}
|
)}
|
||||||
</li>
|
</li>
|
||||||
|
<li className="list-inline-item">•</li>
|
||||||
<li className="list-inline-item">
|
<li className="list-inline-item">
|
||||||
<span>
|
<span>
|
||||||
<MomentTime data={post} />
|
<MomentTime data={post} />
|
||||||
</span>
|
</span>
|
||||||
</li>
|
</li>
|
||||||
|
<li className="list-inline-item">•</li>
|
||||||
|
{this.state.upvotes !== this.state.score && (
|
||||||
|
<>
|
||||||
<li className="list-inline-item">
|
<li className="list-inline-item">
|
||||||
<span className="text-muted">
|
<span className="text-muted">
|
||||||
<svg class="small icon icon-inline mr-1">
|
<svg class="small icon icon-inline mr-1">
|
||||||
|
@ -484,6 +488,9 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
|
||||||
{this.state.downvotes}
|
{this.state.downvotes}
|
||||||
</span>
|
</span>
|
||||||
</li>
|
</li>
|
||||||
|
<li className="list-inline-item">•</li>
|
||||||
|
</>
|
||||||
|
)}
|
||||||
<li className="list-inline-item">
|
<li className="list-inline-item">
|
||||||
<Link
|
<Link
|
||||||
className="text-muted"
|
className="text-muted"
|
||||||
|
|
Loading…
Reference in New Issue