{% extends "admin/base_site_grid.html" %}
{% load i18n %}
{% block extrahead %}{{block.super}}
{% endblock %}
{% block extra_grid %}treeGrid: true,
treeGridModel: 'adjacency',
ExpandColumn: 'depth',
treeIcons: {
plus:'fa-caret-right',
minus:'fa-caret-left',
leaf:'fa-genderless'
},
tree_root_level: 0,
treeReader: {
level_field: 'depth',
parent_id_field: 'parent',
leaf_field: 'leaf',
expanded_field: 'expanded'
},
ExpandColClick: true,
resizeStop: gantt.redraw,
{% endblock %}
{% block actions %}
{% endblock %}
{% block tools %}{% tabs "input.demand" %}{% endblock %}
{% comment %}
TODO operation can be hidden and have no link
{% endcomment %}