Skip to content

Commit

Permalink
Merge pull request #31 from GeotrekCE/feat/event_info
Browse files Browse the repository at this point in the history
Feat/event info
  • Loading branch information
amandine-sahl authored Jul 3, 2023
2 parents 96b2a3e + a569ae8 commit c448e4b
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions front-vite/src/views/EventListingView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,17 @@

<div v-html='selectedEvent.description_teaser'></div>

<div class="my-4">
<div v-if="selectedEvent.target_audience">
<strong> Public : </strong>
<span v-html='selectedEvent.target_audience'></span>
</div>
<div v-if="selectedEvent.bookable">
<div><strong> Nombre de places: </strong> <span v-html='selectedEvent.capacity'></span></div>
<div><strong> Places restantes: </strong><span>{{ selectedEvent.capacity - selectedEvent.sum_participants }}</span></div>
</div>
</div>

<p-tab-view>
<p-tab-panel header="Réservations" v-if="selectedEvent.bookable == true">

Expand Down

0 comments on commit c448e4b

Please sign in to comment.