From: Dessalines Date: Mon, 2 Mar 2020 16:01:00 +0000 (-0500) Subject: Moving link out of more menu. X-Git-Url: http://these/git/%22https:/join-lemmy.org/README.ja.md?a=commitdiff_plain;h=5f6f51b549d42943b85d8f7dc9d193aec0935ab6;p=lemmy.git Moving link out of more menu. --- diff --git a/ui/src/components/comment-node.tsx b/ui/src/components/comment-node.tsx index a904eae3..cd95a75b 100644 --- a/ui/src/components/comment-node.tsx +++ b/ui/src/components/comment-node.tsx @@ -270,28 +270,6 @@ export class CommentNode extends Component { {node.comment.saved ? i18n.t('unsave') : i18n.t('save')} - {this.myComment && ( - <> -
  • - - {i18n.t('edit')} - -
  • -
  • - - {!node.comment.deleted - ? i18n.t('delete') - : i18n.t('restore')} - -
  • - - )} {!this.myComment && (
  • {
  • )} +
  • + + {i18n.t('link')} + +
  • {!this.state.showAdvanced ? (
  • { {i18n.t('view_source')}
  • -
  • - - {i18n.t('link')} - -
  • +
  • •
  • + {this.myComment && ( + <> +
  • + + {i18n.t('edit')} + +
  • +
  • + + {!node.comment.deleted + ? i18n.t('delete') + : i18n.t('restore')} + +
  • + + )} {/* Admins and mods can remove comments */} {(this.canMod || this.canAdmin) && ( <> -
  • •
  • {!node.comment.removed ? (