diff --git a/components/PostCard.vue b/components/PostCard.vue index 2ae3e4b37..1286bc9bb 100644 --- a/components/PostCard.vue +++ b/components/PostCard.vue @@ -11,40 +11,6 @@ > {{ post.title }} - - - - - - @@ -84,6 +50,43 @@ {{ post.commentsCount }} + + + + + + @@ -124,14 +127,9 @@ export default { routes() { let routes = [ { - name: 'Melden', + name: this.$t('common.reportContent'), path: `/profile/`, - icon: 'user' - }, - { - name: 'Irgendwass', - path: `/settings`, - icon: 'cogs' + icon: 'flag' } ] // if (this.isAdmin) { @@ -165,9 +163,11 @@ export default { } } .post-menu { - position: absolute; - top: $space-small; - right: $space-small; + // position: absolute; + // bottom: $space-small; + // right: $space-small; + display: inline-block; + margin-left: $space-base; z-index: 1; } .post-link { diff --git a/locales/de.json b/locales/de.json index bb879f4ea..e88c0e096 100644 --- a/locales/de.json +++ b/locales/de.json @@ -1,4 +1,7 @@ { + "common": { + "reportContent": "Melden" + }, "login": { "copy": "Wenn Du ein Konto bei Human Connection hast, melde Dich bitte hier an.", "login": "Einloggen", @@ -94,4 +97,4 @@ "author": "Afrikanisches Sprichwort" } } -} \ No newline at end of file +} diff --git a/locales/en.json b/locales/en.json index a36bdda3c..430ed2d62 100644 --- a/locales/en.json +++ b/locales/en.json @@ -1,4 +1,7 @@ { + "common": { + "reportContent": "Report" + }, "login": { "copy": "If you already have a human-connection account, login here.", "login": "Login", @@ -94,4 +97,4 @@ "author": "African proverb" } } -} \ No newline at end of file +} diff --git a/styleguide/src/system/icons/svg/flag.svg b/styleguide/src/system/icons/svg/flag.svg new file mode 100755 index 000000000..6d2769808 --- /dev/null +++ b/styleguide/src/system/icons/svg/flag.svg @@ -0,0 +1,5 @@ + + +flag + +