From 7bab09449da70c6da9d62ca55fdbb71bb1118fe5 Mon Sep 17 00:00:00 2001 From: Grzegorz Leoniec Date: Tue, 23 Oct 2018 12:43:20 +0200 Subject: [PATCH] added date to the author component --- components/Author.vue | 58 ++++++++++++++++++++++++++----------------- 1 file changed, 35 insertions(+), 23 deletions(-) diff --git a/components/Author.vue b/components/Author.vue index fc7e01518..87b124c93 100644 --- a/components/Author.vue +++ b/components/Author.vue @@ -11,10 +11,21 @@ :href="author.slug ? $router.resolve({ name: 'profile-slug', params: { slug: author.slug } }).href : null" @mouseover="popoverMouseEnter" @mouseleave="popoveMouseLeave"> - {{ author.name | truncate(trunc) }} +
+ +
+
+ {{ author.name | truncate(trunc) }}
+ + {{ post.createdAt | date }} + +
--> + - {{ fanCount }} - Fans + - {{ author.contributionsCount || 0 }} - Beiträge + - {{ author.commentsCount || 0 }} - Kommentare + @@ -85,6 +93,8 @@