Mercurial > gemma
changeset 1393:efd77496de75
stagingarea: using summary in display
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Wed, 28 Nov 2018 11:35:14 +0100 |
parents | 0e1d89241cda |
children | b350b0b5cb6c |
files | client/src/components/map/contextbox/Staging.vue |
diffstat | 1 files changed, 11 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/client/src/components/map/contextbox/Staging.vue Wed Nov 28 09:52:34 2018 +0100 +++ b/client/src/components/map/contextbox/Staging.vue Wed Nov 28 11:35:14 2018 +0100 @@ -6,9 +6,10 @@ <table class="table mb-0"> <thead> <tr> - <th>id</th> - <th>Datatype</th> - <th>Importdate</th> + <th>Name</th> + <th>Type</th> + <th>Date</th> + <th>Imported</th> <th>Username</th> <th> </th> <th> </th> @@ -17,10 +18,14 @@ <tbody v-if="filteredData.length"> <tr v-for="data in filteredData" :key="data.id"> <td> - <a @click="zoomTo(data.location)" href="#">{{ data.id }}</a> + <a + @click="zoomTo([data.summary.lat, data.summary.lon])" + href="#" + >{{ data.summary.bottleneck }}</a> </td> - <td>{{ data.kind }}</td> - <td>{{ data.enqueued }}</td> + <td>{{ data.kind.toUpperCase() }}</td> + <td>{{ data.summary.date }}</td> + <td>{{ data.enqueued.split("T")[0] }}</td> <td>{{ data.user }}</td> <td> <button