change block personcontent to content more consistent with other templates and less need for if-statements

This commit is contained in:
2022-02-24 15:58:02 +01:00
parent f8ec0f85e5
commit c4e0b68ebe
64 changed files with 66 additions and 73 deletions

View File

@@ -5,7 +5,7 @@
{% block title 'Remove resource'|trans %}
{% block personcontent %}
{% block content %}
{{ include('@ChillMain/Util/confirmation_template.html.twig',
{
'title' : 'Remove resource'|trans,

View File

@@ -14,7 +14,7 @@
{% block title %}{{ 'edit resource'|trans|capitalize }}{% endblock %}
{% block personcontent %}
{% block content %}
<h1 style="margin-bottom: 2rem;">{{ 'edit resource'|trans }}</h1>

View File

@@ -14,7 +14,7 @@
{{ encore_entry_link_tags('mod_pickentity_type') }}
{% endblock %}
{% block personcontent %}
{% block content %}
<h1>{{ 'List of resources'|trans }}</h1>