mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-01 12:33:49 +00:00
change block personcontent to content more consistent with other templates and less need for if-statements
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
|
||||
{% block title 'Remove task'|trans %}
|
||||
|
||||
{% block personcontent %}
|
||||
{% block content %}
|
||||
|
||||
{{ include('@ChillMain/Util/confirmation_template.html.twig',
|
||||
{
|
||||
|
@@ -23,7 +23,7 @@
|
||||
{{ 'Edit task'|trans }}
|
||||
{% endblock %}
|
||||
|
||||
{% block personcontent %}
|
||||
{% block content %}
|
||||
|
||||
{% include '@ChillTask/SingleTask/_edit.html.twig' %}
|
||||
|
||||
|
@@ -4,7 +4,7 @@
|
||||
|
||||
{% block title 'Tasks for {{ name }}'|trans({ '{{ name }}' : person|chill_entity_render_string }) %}
|
||||
|
||||
{% block personcontent %}
|
||||
{% block content %}
|
||||
<div class="col-md-10 col-xxl">
|
||||
|
||||
<h1>{{ block('title') }}</h1>
|
||||
|
@@ -24,7 +24,7 @@
|
||||
{% endblock %}
|
||||
|
||||
|
||||
{% block personcontent %}
|
||||
{% block content %}
|
||||
{% include '@ChillTask/SingleTask/_new.html.twig' %}
|
||||
|
||||
{% endblock %}
|
||||
|
@@ -25,7 +25,7 @@
|
||||
{% endblock %}
|
||||
|
||||
|
||||
{% block personcontent %}
|
||||
{% block content %}
|
||||
|
||||
{% include '@ChillTask/SingleTask/_show.html.twig' %}
|
||||
|
||||
|
@@ -5,7 +5,7 @@
|
||||
|
||||
{% block title 'Remove task'|trans %}
|
||||
|
||||
{% block personcontent %}
|
||||
{% block content %}
|
||||
|
||||
{% include '@ChillTask/SingleTask/_transition.html.twig' %}
|
||||
|
||||
|
@@ -29,7 +29,7 @@
|
||||
|
||||
{% block filtertasks %}
|
||||
{% if person is not null %}
|
||||
{% block personcontent %}
|
||||
{% block content %}
|
||||
<div class="tasks">
|
||||
{% include '@ChillTask/SingleTask/Person/list.html.twig' %}
|
||||
|
||||
|
Reference in New Issue
Block a user