improve duplicates templates

This commit is contained in:
Mathieu Jaumotte 2021-03-21 14:38:58 +01:00
parent aa40716898
commit a86feafa53
4 changed files with 28 additions and 23 deletions

View File

@ -36,10 +36,10 @@
{%- macro links(person, options) -%}
<ul>
{# TODO suivre toutes les jointures #}
<li>compteur activités</li>
<li>compteur tâches</li>
<li>compteur rapports</li>
<li>compteur événements</li>
<li>compteur documents</li>
<li><b>3</b> activités</li>
<li><b>5</b> tâches</li>
<li><b>2</b> rapports</li>
<li><b>3</b> événements</li>
<li><b>6</b> documents</li>
</ul>
{% endmacro %}

View File

@ -38,7 +38,7 @@
<h4>{{ 'Deleted datas'|trans ~ ':' }}</h4>
{{ sidepane.details(person2) }}
<h4>{{ 'Moved datas'|trans ~ ':' }}</h4>
<h4>{{ 'Moved links'|trans ~ ':' }}</h4>
{{ sidepane.links(person2) }}
</div>
</div>
@ -56,7 +56,7 @@
<h4>{{ 'Keeped datas'|trans ~ ':' }}</h4>
{{ sidepane.details(person) }}
<h4>{{ 'Keeped datas'|trans ~ ':' }}</h4>
<h4>{{ 'Keeped links'|trans ~ ':' }}</h4>
{{ sidepane.links(person) }}
</div>
</div>

View File

@ -10,16 +10,16 @@
{% if duplicatePersons|length > 0 %}
<h1>{{ title|default('Person duplicate')|trans }}</h1>
{% if duplicatePersons|length > 0 %}
<p>{{ title|default('Person duplicate explained')|trans }}</p>
<table>
<thead>
<tr>
<th class="chill-orange">{% trans %}Name{% endtrans %}</th>
<th class="chill-orange">{% trans %}Date of birth{% endtrans %}</th>
<th class="chill-orange">{% trans %}Nationality{% endtrans %}</th>
<th class="chill-green">{% trans %}Name{% endtrans %}</th>
<th class="chill-green">{% trans %}Date of birth{% endtrans %}</th>
<th class="chill-green">{% trans %}Nationality{% endtrans %}</th>
<th>&nbsp;</th>
</tr>
</thead>
@ -62,11 +62,11 @@
</li>
<li>
<a class="sc-button bt-action" href="{{ path('chill_person_duplicate_confirm', { person1_id : person.id, person2_id : duplicatePerson.id }) }}">
Confirmer Doublons</a>
{{ 'Merge'|trans }}</a>
</li>
<li>
<a class="sc-button bt-not-duplicate" href="{{ path('chill_person_duplicate_not_duplicate', {person1_id : person.id, person2_id : duplicatePerson.id}) }}">
Changer vers Faux-positif</a>
{{ 'Switch to truefalse'|trans }}</a>
</li>
</ul>
</td>
@ -76,15 +76,15 @@
{% endif %}
{% if notDuplicatePersons|length > 0 %}
<h1>{{ 'Person flaged as duplicate' | trans }}</h1>
<h2>{{ 'Person flaged as duplicate' | trans }}</h2>
<p>{{ 'Person flaged as duplicate explained' | trans }}</p>
<table>
<thead>
<tr>
<th class="chill-green">{% trans %}Name{% endtrans %}</th>
<th class="chill-green">{% trans %}Date of birth{% endtrans %}</th>
<th class="chill-green">{% trans %}Nationality{% endtrans %}</th>
<th class="chill-orange">{% trans %}Name{% endtrans %}</th>
<th class="chill-orange">{% trans %}Date of birth{% endtrans %}</th>
<th class="chill-orange">{% trans %}Nationality{% endtrans %}</th>
<th>&nbsp;</th>
</tr>
</thead>
@ -126,8 +126,8 @@
<a class="sc-button bt-show" target="_blank" href="{{ path('chill_person_view', { person_id : notDuplicatePerson.id }) }}"></a>
</li>
<li>
<a class="sc-button bt-action" href="{{ path('chill_person_remove_duplicate_not_duplicate', {person1_id : person.id, person2_id : notDuplicatePerson.id}) }}">
Changer vers doublon</a>
<a class="sc-button bt-not-duplicate" href="{{ path('chill_person_remove_duplicate_not_duplicate', {person1_id : person.id, person2_id : notDuplicatePerson.id}) }}">
{{ 'Switch to duplicate'|trans }}</a>
</li>
</ul>
</td>

View File

@ -68,22 +68,26 @@ Married: Marié(e)
File number: Dossier n°
# dédoublonnage
Old person: Dossier doublon
Old person: Doublon
Old person explain: sera supprimé lors de la fusion
New person: Dossier cible
New person explain: sera conservé lors de la fusion
I confirm the merger of these 2 people : Je confime la fusion de ces 2 dossiers
Person duplicate explained: Chill a détecté des doublons potentiels ! Vous pouvez confirmer, infirmer, ou encore désigner un autre dossier.
Person duplicate explained: Chill a détecté des doublons potentiels ! Vous pouvez confirmer, infirmer, ou encore désigner un autre doublon.
Person flaged as duplicate: Dossiers marqués comme faux-positif
Person flaged as duplicate explained: Les dossiers suivants sont marqués comme faux-positifs. Ce ne sont pas des doublons !
Associate manually a duplicate person: Désigner un autre dossier
Associate manually a duplicate person: Désigner un autre doublon
Invert: Inverser le sens de la fusion
Find duplicate: Trouver un doublon
Open in another window: Ouvrir dans une nouvelle fenêtre
Deleted datas: Données supprimées
Moved datas: Données déplacées
Keeped datas: Données conservées
Moved links: Relations déplacées
Keeped links: Relations conservées
Merge duplicate persons folders: Fusion de dossiers
Merge: Fusionner
Switch to truefalse: Passer en Faux-positif
Switch to duplicate: Passer en doublon
# addresses part
address_street_address_1: Adresse ligne 1
@ -178,6 +182,7 @@ CHILL_PERSON_UPDATE: Modifier les personnes
CHILL_PERSON_CREATE: Ajouter des personnes
CHILL_PERSON_STATS: Statistiques sur les personnes
CHILL_PERSON_LISTS: Liste des personnes
CHILL_PERSON_DUPLICATE: Gérer les doublons de personnes
#period
Period closed!: Période clôturée!