From d0939463c26fcb5ab1e3a083b1dce51d6f15695a Mon Sep 17 00:00:00 2001 From: Angelina Filippova Date: Wed, 10 Jun 2020 19:33:26 +0300 Subject: [PATCH] Add link to note's author profile page --- src/views/reports/components/NoteCard.vue | 32 ++++++++++++++++------- 1 file changed, 23 insertions(+), 9 deletions(-) diff --git a/src/views/reports/components/NoteCard.vue b/src/views/reports/components/NoteCard.vue index a2a6a427..eff4d6a1 100644 --- a/src/views/reports/components/NoteCard.vue +++ b/src/views/reports/components/NoteCard.vue @@ -2,15 +2,23 @@
-
- - {{ note.user.nickname }} -
-
- - {{ $t('reports.deleteNote') }} - -
+ +
+ avatar + {{ note.user.nickname }} + ({{ $t('users.invalidNickname') }}) +
+
+ + {{ $t('reports.deleteNote') }} +
@@ -68,6 +76,9 @@ export default { a { text-decoration: underline; } + .deactivated { + color: gray; + } .el-icon-arrow-right { margin-right: 6px; } @@ -108,6 +119,9 @@ export default { font-size: 15px; font-weight: 500; } + .router-link { + text-decoration: none; + } @media only screen and (max-width:480px) { .el-card__header {