mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-30 02:25:00 +00:00
improvements templates
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
{% set indexPage = 'chill_budget_elements_index' %}
|
||||
{% set activeRouteKey = '' %}
|
||||
{% set person = element.person %}
|
||||
{% set title = 'Edit Resource for %name%'|trans({ '%name%' : person.firstName ~ " " ~ person.lastName } ) %}
|
||||
{% set title = 'Edit resource for %name%'|trans({ '%name%' : person.firstName ~ " " ~ person.lastName } ) %}
|
||||
{% else %}
|
||||
{% set template = '@ChillPerson/Household/layout.html.twig' %}
|
||||
{% set indexPage = 'chill_budget_elements_household_index' %}
|
||||
@@ -12,6 +12,8 @@
|
||||
{% set title = 'Edit resource for household %household%'|trans({ '%household%' : household.id } ) %}
|
||||
{% endif %}
|
||||
|
||||
{% set title = 'Edit resource'|trans %}
|
||||
|
||||
{% extends template %}
|
||||
|
||||
{% block title title %}
|
||||
|
@@ -12,6 +12,8 @@
|
||||
{% set title = 'New Resource for household %household%'|trans({ '%household%' : household.id } ) %}
|
||||
{% endif %}
|
||||
|
||||
{% set title = 'New resource'|trans %}
|
||||
|
||||
{% extends template %}
|
||||
|
||||
{% block title title %}
|
||||
|
Reference in New Issue
Block a user