ajout du titre de l'enregistrement dans le titre de la page modifiée (fixes #33046)

This commit is contained in:
afornerot 2021-10-18 14:08:53 +02:00
parent 6a8e102fc6
commit c7586c86d5
22 changed files with 30 additions and 30 deletions

View File

@ -2,7 +2,7 @@
{% block pagewrapper %} {% block pagewrapper %}
{{ form_start(form) }} {{ form_start(form) }}
<h1 class="page-header">Modification Configuration Générale</h1> <h1 class="page-header">Modification Configuration Générale = {{config.id}}</h1>
{{ form_widget(form.submit) }} <a class="btn btn-default" href={{ path('cadoles_core_config_commun') }}>Annuler</a> {{ form_widget(form.submit) }} <a class="btn btn-default" href={{ path('cadoles_core_config_commun') }}>Annuler</a>

View File

@ -4,11 +4,11 @@
{{ form_start(form) }} {{ form_start(form) }}
<h1 class="page-header"> <h1 class="page-header">
{% if mode=="update" %} {% if mode=="update" %}
Modification Groupe Modification Groupe = {{ group.label }}
{% elseif mode=="submit" %} {% elseif mode=="submit" %}
Création Groupe Création Groupe
{% elseif mode=="delete" %} {% elseif mode=="delete" %}
Suppression Groupe Suppression Groupe = {{ group.label }}
{% endif %} {% endif %}
</h1> </h1>

View File

@ -4,11 +4,11 @@
{{ form_start(form) }} {{ form_start(form) }}
<h1 class="page-header"> <h1 class="page-header">
{% if mode=="update" %} {% if mode=="update" %}
Modification {{ labelniveau01 }} Modification {{ labelniveau01 }} = {{niveau01.label}}
{% elseif mode=="submit" %} {% elseif mode=="submit" %}
Création {{ labelniveau01 }} Création {{ labelniveau01 }}
{% elseif mode=="delete" %} {% elseif mode=="delete" %}
Suppression {{ labelniveau01 }} Suppression {{ labelniveau01 }} = {{niveau01.label}}
{% endif %} {% endif %}
</h1> </h1>

View File

@ -4,11 +4,11 @@
{{ form_start(form) }} {{ form_start(form) }}
<h1 class="page-header"> <h1 class="page-header">
{% if mode=="update" %} {% if mode=="update" %}
Modification {{ labelniveau02 }} Modification {{ labelniveau02 }} = {{niveau02.label}}
{% elseif mode=="submit" %} {% elseif mode=="submit" %}
Création {{ labelniveau02 }} Création {{ labelniveau02 }}
{% elseif mode=="delete" %} {% elseif mode=="delete" %}
Suppression {{ labelniveau02 }} Suppression {{ labelniveau02 }} = {{niveau02.label}}
{% endif %} {% endif %}
</h1> </h1>

View File

@ -4,11 +4,11 @@
{{ form_start(form) }} {{ form_start(form) }}
<h1 class="page-header"> <h1 class="page-header">
{% if mode=="update" %} {% if mode=="update" %}
Modification Profil de Modération Modification Profil de Modération = {{ permmodoprofil.name }}
{% elseif mode=="submit" %} {% elseif mode=="submit" %}
Création Profil de Modération Création Profil de Modération
{% elseif mode=="delete" %} {% elseif mode=="delete" %}
Suppression Profil de Modération Suppression Profil de Modération = {{ permmodoprofil.name }}
{% endif %} {% endif %}
</h1> </h1>

View File

@ -5,11 +5,11 @@
{% if moderegistration!="none" %} {% if moderegistration!="none" %}
<h1 class="page-header"> <h1 class="page-header">
{% if mode=="send" %} {% if mode=="send" %}
Confirmation à l'Utilisateur Confirmation à l'Utilisateur = {{ registration.username }}
{% elseif mode=="submit" %} {% elseif mode=="submit" %}
Inscription Inscription
{% elseif mode=="delete" %} {% elseif mode=="delete" %}
Suppression Inscription Suppression Inscription = {{ registration.username }}
{% endif %} {% endif %}
</h1> </h1>

View File

@ -5,7 +5,7 @@
<h1 class="page-header"> <h1 class="page-header">
{% if mode=="update" %} {% if mode=="update" %}
{% if access=="config" %} {% if access=="config" %}
Modification Utilisateur Modification Utilisateur = {{ user.username}}
{% else %} {% else %}
Profil Profil
{% endif %} {% endif %}

View File

@ -4,11 +4,11 @@
{{ form_start(form) }} {{ form_start(form) }}
<h1 class="page-header"> <h1 class="page-header">
{% if mode=="update" %} {% if mode=="update" %}
Modification Liste Blanche Modification Liste Blanche = {{ whitelist.label }}
{% elseif mode=="submit" %} {% elseif mode=="submit" %}
Création Liste Blanche Création Liste Blanche
{% elseif mode=="delete" %} {% elseif mode=="delete" %}
Suppression Liste Blanche Suppression Liste Blanche = {{ whitelist.label }}
{% endif %} {% endif %}
</h1> </h1>

View File

@ -4,7 +4,7 @@
{{ form_start(form) }} {{ form_start(form) }}
<h1 class="page-header"> <h1 class="page-header">
{% if mode=="update" %} {% if mode=="update" %}
Modification Annonces Modification Annonces = {{alert.title}}
{% elseif mode=="submit" %} {% elseif mode=="submit" %}
Création Annonces Création Annonces
{% endif %} {% endif %}

View File

@ -4,7 +4,7 @@
{{ form_start(form) }} {{ form_start(form) }}
<h1 class="page-header"> <h1 class="page-header">
{% if mode=="update" %} {% if mode=="update" %}
Modification Catégorie d'Annonce Modification Catégorie d'Annonce = {{alertcategory.label}}
{% elseif mode=="submit" %} {% elseif mode=="submit" %}
Création Catégorie d'Annonce Création Catégorie d'Annonce
{% endif %} {% endif %}

View File

@ -4,7 +4,7 @@
{{ form_start(form) }} {{ form_start(form) }}
<h1 class="page-header"> <h1 class="page-header">
{% if mode=="update" %} {% if mode=="update" %}
Modification Blog Modification Blog = {{entity.name}}
{% elseif mode=="submit" %} {% elseif mode=="submit" %}
Création Blog Création Blog
{% endif %} {% endif %}

View File

@ -4,7 +4,7 @@
{{ form_start(form) }} {{ form_start(form) }}
<h1 class="page-header"> <h1 class="page-header">
{% if mode=="update" %} {% if mode=="update" %}
Modification Calendrier Modification Calendrier = {{entity.name}}
{% elseif mode=="submit" %} {% elseif mode=="submit" %}
Création Calendrier Création Calendrier
{% endif %} {% endif %}

View File

@ -3,7 +3,7 @@
{% block pagewrapper %} {% block pagewrapper %}
{{ form_start(form) }} {{ form_start(form) }}
<h1> <h1>
Partage Calendrier Partage Calendrier = {{entity.name}}
</h1> </h1>
<p> <p>

View File

@ -4,7 +4,7 @@
{{ form_start(form) }} {{ form_start(form) }}
<h1 class="page-header"> <h1 class="page-header">
{% if mode=="update" %} {% if mode=="update" %}
Modification Flux Modification Flux = {{flux.title}}
{% elseif mode=="submit" %} {% elseif mode=="submit" %}
Création Flux Création Flux
{% endif %} {% endif %}
@ -17,7 +17,7 @@
<a href={{ path('cadoles_portal_config_flux_delete',{'id':flux.id}) }} <a href={{ path('cadoles_portal_config_flux_delete',{'id':flux.id}) }}
class="btn btn-danger pull-right" class="btn btn-danger pull-right"
data-method="delete" data-csrf="_token:{{ 'csrf' }}" data-method="delete" data-csrf="_token:{{ 'csrf' }}"
data-confirm="Êtes-vous sûr de vouloir supprimer cette annonce ?"> data-confirm="Êtes-vous sûr de vouloir supprimer ce flux ?">
Supprimer Supprimer
</a> </a>
{% endif %} {% endif %}

View File

@ -4,7 +4,7 @@
{{ form_start(form) }} {{ form_start(form) }}
<h1 class="page-header"> <h1 class="page-header">
{% if mode=="update" %} {% if mode=="update" %}
Modification Item Modification Item = {{item.title}}
{% elseif mode=="submit" %} {% elseif mode=="submit" %}
Création Item Création Item
{% endif %} {% endif %}

View File

@ -4,7 +4,7 @@
{{ form_start(form) }} {{ form_start(form) }}
<h1 class="page-header"> <h1 class="page-header">
{% if mode=="update" %} {% if mode=="update" %}
Modification Catégorie d'Item Modification Catégorie d'Item = {{itemcategory.label}}
{% elseif mode=="submit" %} {% elseif mode=="submit" %}
Création Catégorie d'Item Création Catégorie d'Item
{% endif %} {% endif %}

View File

@ -4,7 +4,7 @@
{{ form_start(form) }} {{ form_start(form) }}
<h1 class="page-header"> <h1 class="page-header">
{% if mode=="update" %} {% if mode=="update" %}
Modification Charte Modification Charte = {{notice.title}}
{% elseif mode=="submit" %} {% elseif mode=="submit" %}
Création Charte Création Charte
{% endif %} {% endif %}

View File

@ -4,7 +4,7 @@
{{ form_start(form) }} {{ form_start(form) }}
<h1 class="page-header"> <h1 class="page-header">
{% if mode=="update" %} {% if mode=="update" %}
Modification Page Editeur Modification Page Editeur = {{entity.name}}
{% elseif mode=="submit" %} {% elseif mode=="submit" %}
Création Page Editeur Création Page Editeur
{% endif %} {% endif %}

View File

@ -3,7 +3,7 @@
{% block pagewrapper %} {% block pagewrapper %}
{{ form_start(form) }} {{ form_start(form) }}
<h1 class="page-header"> <h1 class="page-header">
Modification Page {{ entity.pagecategory.name}} Modification Page {{ entity.pagecategory.name}} = {{entity.name}}
</h1> </h1>
<p> <p>

View File

@ -4,7 +4,7 @@
{{ form_start(form) }} {{ form_start(form) }}
<h1 class="page-header"> <h1 class="page-header">
{% if mode=="update" %} {% if mode=="update" %}
Modification Page URL Modification Page URL = {{entity.name}}
{% elseif mode=="submit" %} {% elseif mode=="submit" %}
Création Page URL Création Page URL
{% endif %} {% endif %}

View File

@ -142,9 +142,9 @@
{{ form_start(form) }} {{ form_start(form) }}
<h1 class="page-header"> <h1 class="page-header">
{% if mode=="update" %} {% if mode=="update" %}
Modification Page Widget Modification Page Widget = {{entity.name}}
{% elseif mode=="updatetemplate" %} {% elseif mode=="updatetemplate" %}
Modification Modèle de Page Modification Modèle de Page = {{entity.name}}
{% elseif mode=="submit" %} {% elseif mode=="submit" %}
Création Page Widget Création Page Widget
{% endif %} {% endif %}

View File

@ -4,7 +4,7 @@
{{ form_start(form) }} {{ form_start(form) }}
<h1 class="page-header"> <h1 class="page-header">
{% if mode=="update" %} {% if mode=="update" %}
Modification Projet Modification Projet = {{entity.name}}
{% elseif mode=="submit" %} {% elseif mode=="submit" %}
Création Projet Création Projet
{% endif %} {% endif %}