forked from potsda.mn/mobilizon
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:
commit
1e3fd8a1ca
|
@ -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