From 44f58c92caa7d04060222392f74926bdb0ca9cbf Mon Sep 17 00:00:00 2001 From: Joel Takvorian Date: Wed, 16 Oct 2019 10:24:02 +0200 Subject: [PATCH] Link to participation from event page When the organizer sees hiw own event, the number of attendees is now a link to the attendees page Fixes #221 --- js/src/views/Event/Event.vue | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/js/src/views/Event/Event.vue b/js/src/views/Event/Event.vue index 1df1d938b..a0f4d4305 100644 --- a/js/src/views/Event/Event.vue +++ b/js/src/views/Event/Event.vue @@ -15,10 +15,18 @@ import {ParticipantRole} from "@/types/event.model";

{{ event.title }}

- + + + {{ $tc('One person is going', event.participantStats.approved, {approved: event.participantStats.approved}) }} + + + {{ $tc('You and one other person are going to this event', event.participantStats.participants, { approved: event.participantStats.participants }) }} + + + {{ $tc('One person is going', event.participantStats.approved, {approved: event.participantStats.approved}) }} - + {{ $tc('You and one other person are going to this event', event.participantStats.participants, { approved: event.participantStats.participants }) }}