changeset 2357:f910ecf23ce0

client: pdf-templates: added country code to table
author Markus Kottlaender <markus@intevation.de>
date Wed, 20 Feb 2019 13:44:22 +0100
parents d66f60163c2f
children da75385887b9
files client/src/components/systemconfiguration/PDFTemplates.vue
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/client/src/components/systemconfiguration/PDFTemplates.vue	Wed Feb 20 13:35:33 2019 +0100
+++ b/client/src/components/systemconfiguration/PDFTemplates.vue	Wed Feb 20 13:44:22 2019 +0100
@@ -16,6 +16,7 @@
           <tr>
             <th><translate>Name</translate></th>
             <th><translate>Date</translate></th>
+            <th><translate>Country</translate></th>
             <th></th>
           </tr>
         </thead>
@@ -23,6 +24,8 @@
           <tr v-for="template in templates" :key="template.name">
             <td>{{ template.name }}</td>
             <td>{{ template.time }}</td>
+            <td v-if="template.country">{{ template.country }}</td>
+            <td v-else><i>global</i></td>
             <td class="text-right">
               <button
                 class="btn btn-sm btn-dark"