forked from potsda.mn/mobilizon
Add link from homepage last published events section to search page
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
cc029a52f9
commit
23b8da2085
|
@ -62,7 +62,8 @@
|
||||||
<b-loading :active.sync="$apollo.loading" />
|
<b-loading :active.sync="$apollo.loading" />
|
||||||
</p>
|
</p>
|
||||||
<b-loading :active.sync="$apollo.loading" />
|
<b-loading :active.sync="$apollo.loading" />
|
||||||
<div v-if="this.events.total > 0" class="columns is-multiline">
|
<div v-if="this.events.total > 0">
|
||||||
|
<div class="columns is-multiline">
|
||||||
<div
|
<div
|
||||||
class="column is-one-third-desktop"
|
class="column is-one-third-desktop"
|
||||||
v-for="event in this.events.elements.slice(0, 6)"
|
v-for="event in this.events.elements.slice(0, 6)"
|
||||||
|
@ -71,6 +72,12 @@
|
||||||
<EventCard :event="event" />
|
<EventCard :event="event" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<span class="view-all">
|
||||||
|
<router-link :to="{ name: RouteName.SEARCH }"
|
||||||
|
>{{ $t("View everything") }} >></router-link
|
||||||
|
>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
<b-message v-else type="is-danger">{{
|
<b-message v-else type="is-danger">{{
|
||||||
$t("No events found")
|
$t("No events found")
|
||||||
}}</b-message>
|
}}</b-message>
|
||||||
|
@ -308,7 +315,8 @@
|
||||||
<b-loading :active.sync="$apollo.loading" />
|
<b-loading :active.sync="$apollo.loading" />
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div v-if="this.events.total > 0" class="columns is-multiline">
|
<div v-if="this.events.total > 0">
|
||||||
|
<div class="columns is-multiline">
|
||||||
<div
|
<div
|
||||||
class="column is-one-third-desktop"
|
class="column is-one-third-desktop"
|
||||||
v-for="event in this.events.elements.slice(0, 6)"
|
v-for="event in this.events.elements.slice(0, 6)"
|
||||||
|
@ -317,6 +325,12 @@
|
||||||
<recent-event-card-wrapper :event="event" />
|
<recent-event-card-wrapper :event="event" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<span class="view-all">
|
||||||
|
<router-link :to="{ name: RouteName.SEARCH }"
|
||||||
|
>{{ $t("View everything") }} >></router-link
|
||||||
|
>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
<b-message v-else type="is-danger"
|
<b-message v-else type="is-danger"
|
||||||
>{{ $t("No events found") }}<br />
|
>{{ $t("No events found") }}<br />
|
||||||
<div v-if="goingToEvents.size > 0 || lastWeekEvents.length > 0">
|
<div v-if="goingToEvents.size > 0 || lastWeekEvents.length > 0">
|
||||||
|
@ -635,7 +649,7 @@ main > div > .container {
|
||||||
}
|
}
|
||||||
|
|
||||||
.columns {
|
.columns {
|
||||||
margin: 1rem auto 3rem;
|
margin: 1rem auto 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue