mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-05 14:25:00 +00:00
controller tell which layout twig must serve
This commit is contained in:
@@ -15,24 +15,20 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#}
|
||||
|
||||
{% extends "@ChillPerson/layout.html.twig" %}
|
||||
{% extends layout %}
|
||||
|
||||
{% set activeRouteKey = 'chill_task_single_task_new' %}
|
||||
|
||||
{% block title %}{{ 'Task list'|trans }}{% endblock %}
|
||||
|
||||
{% macro thead() %}
|
||||
|
||||
{% endmacro %}
|
||||
|
||||
{% macro row(task) %}
|
||||
|
||||
{% endmacro %}
|
||||
|
||||
|
||||
{# filter tasks #}
|
||||
{% block filtertasks %}{#
|
||||
sf4 check: prevent error message: `A block definition cannot be nested under non-capturing nodes.` #}
|
||||
{% block filtertasks %}
|
||||
{% if person is not null %}
|
||||
{% block personcontent %}
|
||||
{% include 'ChillTaskBundle:SingleTask:_list.html.twig' %}
|
||||
|
Reference in New Issue
Block a user