feat: Make event title clickable on cards

Use a router link to generate a link to event main page.

See issue: #291
This commit is contained in:
Leo Mouyna 2019-12-11 20:50:44 +01:00
parent 74c6eb277f
commit 55e85ac362

View File

@ -58,7 +58,7 @@ export default {
<div class="date-component">
<date-calendar-icon :date="participation.event.beginsOn" />
</div>
<h2 class="title">{{ participation.event.title }}</h2>
<router-link :to="{ name: RouteName.EVENT, params: { uuid: participation.event.uuid } }"><h2 class="title">{{participation.event.title }}</h2></router-link>
</div>
<div class="participation-actor has-text-grey">
<span v-if="participation.event.physicalAddress && participation.event.physicalAddress.locality">{{ participation.event.physicalAddress.locality }} - </span>