mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-29 21:46:14 +00:00
fix buttonLocation deleted from last merge
This commit is contained in:
parent
3602b0d097
commit
755812ae3c
@ -13,6 +13,10 @@
|
|||||||
|
|
||||||
<template v-slot:record-actions>
|
<template v-slot:record-actions>
|
||||||
<ul class="record_actions">
|
<ul class="record_actions">
|
||||||
|
<button-location
|
||||||
|
v-if="hasCurrentHouseholdAddress"
|
||||||
|
v-bind:person="participation.person">
|
||||||
|
</button-location>
|
||||||
<li>
|
<li>
|
||||||
<on-the-fly
|
<on-the-fly
|
||||||
v-bind:type="participation.person.type"
|
v-bind:type="participation.person.type"
|
||||||
@ -39,23 +43,13 @@
|
|||||||
v-bind:title="$t('action.remove')"
|
v-bind:title="$t('action.remove')"
|
||||||
@click.prevent="$emit('close', participation)">
|
@click.prevent="$emit('close', participation)">
|
||||||
</button>
|
</button>
|
||||||
<button v-else class="btn btn-sm btn-remove disabled"></button>
|
<button v-else
|
||||||
|
class="btn btn-sm btn-remove disabled"></button>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
</template>
|
</template>
|
||||||
</person-render-box>
|
</person-render-box>
|
||||||
|
|
||||||
<!-- dates of participation
|
|
||||||
<tr>
|
|
||||||
<td><span v-if="participation.startDate">
|
|
||||||
{{ $d(participation.startDate.datetime, 'short') }}</span>
|
|
||||||
</td>
|
|
||||||
<td><span v-if="participation.endDate">
|
|
||||||
{{ $d(participation.endDate.datetime, 'short') }}</span>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
-->
|
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
@ -95,4 +89,23 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* dates of participation
|
||||||
|
*
|
||||||
|
* :title="$t('persons_associated.date_start_to_end', {
|
||||||
|
* start: $d(participation.startDate.datetime, 'short'),
|
||||||
|
* end: $d(participation.endDate.datetime, 'short')
|
||||||
|
* })"
|
||||||
|
*
|
||||||
|
* <tr>
|
||||||
|
* <td><span v-if="participation.startDate">
|
||||||
|
* {{ $d(participation.startDate.datetime, 'short') }}</span>
|
||||||
|
* </td>
|
||||||
|
* <td><span v-if="participation.endDate">
|
||||||
|
* {{ $d(participation.endDate.datetime, 'short') }}</span>
|
||||||
|
* </td>
|
||||||
|
* </tr>
|
||||||
|
*
|
||||||
|
*/
|
||||||
</script>
|
</script>
|
||||||
|
@ -10,6 +10,10 @@
|
|||||||
>
|
>
|
||||||
<template v-slot:record-actions>
|
<template v-slot:record-actions>
|
||||||
<ul class="record_actions">
|
<ul class="record_actions">
|
||||||
|
<button-location
|
||||||
|
v-if="hasCurrentHouseholdAddress"
|
||||||
|
v-bind:person="participation.person">
|
||||||
|
</button-location>
|
||||||
<li>
|
<li>
|
||||||
<on-the-fly
|
<on-the-fly
|
||||||
v-bind:type="resource.resource.type"
|
v-bind:type="resource.resource.type"
|
||||||
|
@ -41,6 +41,7 @@ const appMessages = {
|
|||||||
startdate: "Date d'entrée",
|
startdate: "Date d'entrée",
|
||||||
enddate: "Date de sortie",
|
enddate: "Date de sortie",
|
||||||
add_persons: "Ajouter des usagers",
|
add_persons: "Ajouter des usagers",
|
||||||
|
date_start_to_end: "Participation du {start} au {end}",
|
||||||
},
|
},
|
||||||
requestor: {
|
requestor: {
|
||||||
title: "Demandeur",
|
title: "Demandeur",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user