mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-13 13:54:23 +00:00
added missing translations + further adjustment templates
This commit is contained in:
parent
5dc117037d
commit
9bb149fb02
@ -33,11 +33,12 @@
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
{% if resources|length == 0 and charges|length == 0 %}
|
{% if resources|length == 0 and charges|length == 0 %}
|
||||||
<div class="flex-table">
|
{# <div class="flex-table"> #}
|
||||||
<div class="item-bloc">
|
{# <div class="item-bloc">
|
||||||
<p><span class="chill-no-data-statement">{{ "There isn't any element recorded"|trans }}</span></p>
|
<p><span class="chill-no-data-statement">{{ "There isn't any element recorded"|trans }}</span></p>
|
||||||
</div>
|
</div> #}
|
||||||
</div>
|
{# </div> #}
|
||||||
|
|
||||||
{% else %}
|
{% else %}
|
||||||
|
|
||||||
<h2 class="subtitle">{{ 'Actual budget'|trans }}</h3>
|
<h2 class="subtitle">{{ 'Actual budget'|trans }}</h3>
|
||||||
@ -57,6 +58,8 @@
|
|||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
<h2 class="subtitle">{{ 'Past budget'|trans }}</h2>
|
<h2 class="subtitle">{{ 'Past budget'|trans }}</h2>
|
||||||
|
|
||||||
{% if pastCharges|length > 0 or pastResources|length > 0 %}
|
{% if pastCharges|length > 0 or pastResources|length > 0 %}
|
||||||
@ -100,4 +103,4 @@
|
|||||||
</div>
|
</div>
|
||||||
</div> #}
|
</div> #}
|
||||||
|
|
||||||
{% endif %}
|
|
||||||
|
@ -19,9 +19,9 @@
|
|||||||
<td class="column-small">{{ f.amount|format_currency('EUR') }}</td>
|
<td class="column-small">{{ f.amount|format_currency('EUR') }}</td>
|
||||||
<td class="column-wide">
|
<td class="column-wide">
|
||||||
{% if f.endDate is not null %}
|
{% if f.endDate is not null %}
|
||||||
{{ 'Valid since %startDate% until %endDate%'|trans( { '%startDate%': f.startDate|format_date('short'), '%endDate%': f.endDate|format_date('short') } ) }}
|
{{ f.startDate|format_date('short') ~ ' - ' ~ f.endDate|format_date('short') }}
|
||||||
{% else %}
|
{% else %}
|
||||||
{{ 'Valid since %startDate%'|trans( { '%startDate%': f.startDate|format_date('short') } ) }}
|
{{ f.startDate|format_date('short') ~ ' - ...' }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</td>
|
</td>
|
||||||
<td class="column-small">
|
<td class="column-small">
|
||||||
|
@ -3,15 +3,15 @@
|
|||||||
{% set indexPage = 'chill_budget_elements_index' %}
|
{% set indexPage = 'chill_budget_elements_index' %}
|
||||||
{% set activeRouteKey = '' %}
|
{% set activeRouteKey = '' %}
|
||||||
{% set person = element.person %}
|
{% set person = element.person %}
|
||||||
{% set title = 'Charge for %name%'|trans({ '%name%' : person.firstName ~ " " ~ person.lastName } ) %}
|
|
||||||
{% else %}
|
{% else %}
|
||||||
{% set template = '@ChillPerson/Household/layout.html.twig' %}
|
{% set template = '@ChillPerson/Household/layout.html.twig' %}
|
||||||
{% set indexPage = 'chill_budget_elements_household_index' %}
|
{% set indexPage = 'chill_budget_elements_household_index' %}
|
||||||
{% set activeRouteKey = '' %}
|
{% set activeRouteKey = '' %}
|
||||||
{% set household = element.household %}
|
{% set household = element.household %}
|
||||||
{% set title = 'Charge for household %household%'|trans({ '%household%' : household.id } ) %}
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
{% set title = 'Charge' %}
|
||||||
|
|
||||||
{% extends template %}
|
{% extends template %}
|
||||||
|
|
||||||
{% block title title %}
|
{% block title title %}
|
||||||
|
@ -3,15 +3,15 @@
|
|||||||
{% set indexPage = 'chill_budget_elements_index' %}
|
{% set indexPage = 'chill_budget_elements_index' %}
|
||||||
{% set activeRouteKey = '' %}
|
{% set activeRouteKey = '' %}
|
||||||
{% set person = element.person %}
|
{% set person = element.person %}
|
||||||
{% set title = 'Resource for %name%'|trans({ '%name%' : person.firstName ~ " " ~ person.lastName } ) %}
|
|
||||||
{% else %}
|
{% else %}
|
||||||
{% set template = '@ChillPerson/Household/layout.html.twig' %}
|
{% set template = '@ChillPerson/Household/layout.html.twig' %}
|
||||||
{% set indexPage = 'chill_budget_elements_household_index' %}
|
{% set indexPage = 'chill_budget_elements_household_index' %}
|
||||||
{% set activeRouteKey = '' %}
|
{% set activeRouteKey = '' %}
|
||||||
{% set household = element.household %}
|
{% set household = element.household %}
|
||||||
{% set title = 'Resource for household %household%'|trans({ '%household%' : household.id } ) %}
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
{% set title = 'Resource' %}
|
||||||
|
|
||||||
{% extends template %}
|
{% extends template %}
|
||||||
|
|
||||||
{% block title title %}
|
{% block title title %}
|
||||||
|
@ -51,7 +51,7 @@ Are you sure you want to remove the ressource "%type%" associated to "%name%" ?:
|
|||||||
Are you sure you want to remove the charge "%type%" associated to "%name%" ?: Êtes-vous sûr·e de vouloir supprimer la charge de nature "%type%" associée à %name% ?
|
Are you sure you want to remove the charge "%type%" associated to "%name%" ?: Êtes-vous sûr·e de vouloir supprimer la charge de nature "%type%" associée à %name% ?
|
||||||
Resource deleted: Ressource supprimée
|
Resource deleted: Ressource supprimée
|
||||||
Charge deleted: Charge supprimée
|
Charge deleted: Charge supprimée
|
||||||
Charge created: Charge créée
|
Charge created: Charge créée
|
||||||
Resource created: Ressource créée
|
Resource created: Ressource créée
|
||||||
Resource updated: Resource mise à jour
|
Resource updated: Resource mise à jour
|
||||||
Charge updated: charge mise à jour
|
Charge updated: charge mise à jour
|
||||||
@ -71,5 +71,5 @@ charge.help.not-concerned: Non concerné
|
|||||||
Budget calculator: Calculs et indices sur le budget
|
Budget calculator: Calculs et indices sur le budget
|
||||||
Budget calculator result: Résultats
|
Budget calculator result: Résultats
|
||||||
|
|
||||||
'Valid since %startDate% until %endDate%': '%startDate% - %endDate%'
|
Valid since %startDate% until %endDate%: Valide depuis le %startDate% jusqu'au %endDate%
|
||||||
'Valid since %startDate%': '%startDate% - ...'
|
Valid since %startDate%: Valide depuis le %startDate%
|
Loading…
x
Reference in New Issue
Block a user