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:
parent
74c6eb277f
commit
55e85ac362
|
@ -58,7 +58,7 @@ export default {
|
||||||
<div class="date-component">
|
<div class="date-component">
|
||||||
<date-calendar-icon :date="participation.event.beginsOn" />
|
<date-calendar-icon :date="participation.event.beginsOn" />
|
||||||
</div>
|
</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>
|
||||||
<div class="participation-actor has-text-grey">
|
<div class="participation-actor has-text-grey">
|
||||||
<span v-if="participation.event.physicalAddress && participation.event.physicalAddress.locality">{{ participation.event.physicalAddress.locality }} - </span>
|
<span v-if="participation.event.physicalAddress && participation.event.physicalAddress.locality">{{ participation.event.physicalAddress.locality }} - </span>
|
||||||
|
|
Loading…
Reference in a new issue