Merge branch '291-card-title-as-router-link' into 'master'

feat: Make event title clickable on cards

Closes #291

See merge request framasoft/mobilizon!346
This commit is contained in:
Thomas Citharel 2019-12-15 22:14:13 +01:00
commit 1e3fd8a1ca

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>