diff options
author | Dessalines <happydooby@gmail.com> | 2019-08-17 13:18:25 -0700 |
---|---|---|
committer | Dessalines <happydooby@gmail.com> | 2019-08-17 13:18:25 -0700 |
commit | 7a2c44bda3021fcecb3406b7c5990f71ff5b7336 (patch) | |
tree | 6ae666a851fb5767868cfc46a4f326f61af214a7 | |
parent | 1528c9e86e66fe107580b9d60f8062338de7db1f (diff) |
Needs to go below image expander
-rw-r--r-- | ui/src/components/post-listing.tsx | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/ui/src/components/post-listing.tsx b/ui/src/components/post-listing.tsx index ca03b980..14f2ee85 100644 --- a/ui/src/components/post-listing.tsx +++ b/ui/src/components/post-listing.tsx @@ -84,18 +84,6 @@ export class PostListing extends Component<PostListingProps, PostListingState> { <a className="ml-2 text-muted font-italic" href={post.url} target="_blank" title={post.url}>{(new URL(post.url)).hostname}</a> </small> } - {post.removed && - <small className="ml-2 text-muted font-italic"><T i18nKey="removed">#</T></small> - } - {post.deleted && - <small className="ml-2 text-muted font-italic"><T i18nKey="deleted">#</T></small> - } - {post.locked && - <small className="ml-2 text-muted font-italic"><T i18nKey="locked">#</T></small> - } - {post.nsfw && - <small className="ml-2 text-muted font-italic"><T i18nKey="nsfw">#</T></small> - } { post.url && isImage(post.url) && <> { !this.state.imageExpanded @@ -110,6 +98,18 @@ export class PostListing extends Component<PostListingProps, PostListingState> { } </> } + {post.removed && + <small className="ml-2 text-muted font-italic"><T i18nKey="removed">#</T></small> + } + {post.deleted && + <small className="ml-2 text-muted font-italic"><T i18nKey="deleted">#</T></small> + } + {post.locked && + <small className="ml-2 text-muted font-italic"><T i18nKey="locked">#</T></small> + } + {post.nsfw && + <small className="ml-2 text-muted font-italic"><T i18nKey="nsfw">#</T></small> + } </div> </div> <div className="details ml-4 mb-1"> |