diff --git a/src/assets/symbols.svg b/src/assets/symbols.svg index 43efa4b9..aaa5ea91 100644 --- a/src/assets/symbols.svg +++ b/src/assets/symbols.svg @@ -248,5 +248,8 @@ + + + diff --git a/src/shared/components/comment/comment-node.tsx b/src/shared/components/comment/comment-node.tsx index d68c5b30..69081089 100644 --- a/src/shared/components/comment/comment-node.tsx +++ b/src/shared/components/comment/comment-node.tsx @@ -282,8 +282,16 @@ export class CommentNode extends Component { )} {this.linkBtn(true)} +
+ + { + this.props.allLanguages.find( + lang => lang.id === cv.comment.language_id + )?.name + } +
{/* This is an expanding spacer for mobile */} -
+
{showScores() && ( <> { } createdLine() { - let post_view = this.props.post_view; - let url = post_view.post.url; - let body = post_view.post.body; + const { + post: { language_id, updated, published, url, body }, + community, + creator, + } = this.props.post_view; return (
  • - + {this.creatorIsMod_ && ( {i18n.t("mod")} @@ -330,7 +332,7 @@ export class PostListing extends Component { {this.creatorIsAdmin_ && ( {i18n.t("admin")} )} - {post_view.creator.bot_account && ( + {creator.bot_account && ( {i18n.t("bot_account").toLowerCase()} @@ -338,10 +340,14 @@ export class PostListing extends Component { {this.props.showCommunity && ( {i18n.t("to")} - + )}
  • +
  • + + {this.props.allLanguages.find(lang => lang.id === language_id)?.name} +
  • {url && !(hostname(url) === getExternalHost()) && ( <> @@ -360,15 +366,11 @@ export class PostListing extends Component { )}
  • - +
  • {body && ( <> -