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

View File

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

View File

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

View File

@ -68,22 +68,26 @@ Married: Marié(e)
File number: Dossier n° File number: Dossier n°
# dédoublonnage # dédoublonnage
Old person: Dossier doublon Old person: Doublon
Old person explain: sera supprimé lors de la fusion Old person explain: sera supprimé lors de la fusion
New person: Dossier cible New person: Dossier cible
New person explain: sera conservé lors de la fusion 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 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: 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 ! 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 Invert: Inverser le sens de la fusion
Find duplicate: Trouver un doublon Find duplicate: Trouver un doublon
Open in another window: Ouvrir dans une nouvelle fenêtre Open in another window: Ouvrir dans une nouvelle fenêtre
Deleted datas: Données supprimées Deleted datas: Données supprimées
Moved datas: Données déplacées
Keeped datas: Données conservé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 duplicate persons folders: Fusion de dossiers
Merge: Fusionner
Switch to truefalse: Passer en Faux-positif
Switch to duplicate: Passer en doublon
# addresses part # addresses part
address_street_address_1: Adresse ligne 1 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_CREATE: Ajouter des personnes
CHILL_PERSON_STATS: Statistiques sur les personnes CHILL_PERSON_STATS: Statistiques sur les personnes
CHILL_PERSON_LISTS: Liste des personnes CHILL_PERSON_LISTS: Liste des personnes
CHILL_PERSON_DUPLICATE: Gérer les doublons de personnes
#period #period
Period closed!: Période clôturée! Period closed!: Période clôturée!