List of participants in observation view is now a comma separated list.

This commit is contained in:
neviyn 2018-10-30 10:38:04 +00:00
parent 566c2da78a
commit 4636b79d61

View File

@ -59,7 +59,7 @@
<p slot="title">{{ observation.date }}<br/>{{ observation.whom }} {{ observation.type }}<br/>{{ observation.observed }}</p> <p slot="title">{{ observation.date }}<br/>{{ observation.whom }} {{ observation.type }}<br/>{{ observation.observed }}</p>
<h2>{{ observation.date }}, {{ observation.whom }}<br/>{{ observation.type }}, {{ observation.observed }}</h2> <h2>{{ observation.date }}, {{ observation.whom }}<br/>{{ observation.type }}, {{ observation.observed }}</h2>
<b-row align-h="center"> <b-row align-h="center">
<b-col cols="2" v-for="person in observation.persons">{{ person.name }}</b-col> <b-col cols="2" v-for="(person, index) in observation.persons"><i>{{ person.name }}<span v-if="index+1 < observation.persons.length">, </span></i></b-col>
</b-row> </b-row>
<br /> <br />
<b-row> <b-row>