mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-11-23 12:27:44 +00:00
templates + controller further adapted to work with accompanyingCourse. new and show methods don't work yet due to authorization/voter issues
templates adapted for use with accompanyingCourse tasks also
This commit is contained in:
@@ -15,30 +15,30 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#}
|
||||
|
||||
{% extends '@ChillPerson/Person/layout.html.twig' %}
|
||||
{% extends layout %}
|
||||
|
||||
{% set activeRouteKey = 'chill_task_single_task_new' %}
|
||||
|
||||
{% block title %}{{ 'Task list'|trans }}{% endblock %}
|
||||
{% block title %}
|
||||
{{ 'Task list'|trans }}
|
||||
{% endblock %}
|
||||
|
||||
{% macro thead() %}
|
||||
{% endmacro %}
|
||||
{% macro thead() %}{% endmacro %}
|
||||
|
||||
{% macro row(task) %}
|
||||
{% endmacro %}
|
||||
{% macro row(task) %}{% endmacro %}
|
||||
|
||||
{% block filtertasks %}
|
||||
{% if person is not null %}
|
||||
{% block personcontent %}
|
||||
<div class="tasks">
|
||||
{% include 'ChillTaskBundle:SingleTask:_list.html.twig' %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
{% else %}
|
||||
{% block content %}
|
||||
<div class="col-md-10 col-xxl tasks">
|
||||
{% include 'ChillTaskBundle:SingleTask:_list.html.twig' %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
{% endif %}
|
||||
{% if person is not null %}
|
||||
{% block personcontent %}
|
||||
<div class="tasks">
|
||||
{% include 'ChillTaskBundle:SingleTask:_list.html.twig' %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
{% else %}
|
||||
{% block content %}
|
||||
<div class="col-md-10 col-xxl tasks">
|
||||
{% include 'ChillTaskBundle:SingleTask:_list.html.twig' %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user