{% load datatable_tags %} {% load static %} {% comment %} {% endcomment %} {% comment %} {% endcomment %} {% comment %} {% endcomment %} {% comment %} {% endcomment %} {% comment %} {% endcomment %} {% comment %} {% endcomment %} {% comment %} {% endcomment %} {% comment %} {% endcomment %} {% comment %} {% endcomment %} {% comment %} {% endcomment %} {% comment %} {% endcomment %}
| {{ column|underscore_to_space }} | {% endfor %} {% if columns_extra %} {% for column in columns_extra %}{{ column|underscore_to_space }} | {% endfor %} {% endif %} {% if button_url %}{% endif %} {% else %} | No hay columnas |
{% endif %}
|---|---|---|---|
| {{ datos|get_item:column|default_if_none:"-Sin Datos-" }} | {% endif %} {% endfor %} {% if columns_extra %} {% for column in columns_extra %}{{ datos|get_item:column|default_if_none:"-Sin Datos-" }} | {% endfor %} {% endif %} {% if button_url %}
{% comment %} {% endcomment %}
{% if button_dropdown %}
{% else %}
{% for title, elements in button_url.items %}
{% for type, url_data in elements.items %}
{% if type == "modal" %}
{% elif type == "link" %}
{{ title }}
{% endif %}
{% endfor %}
{% endfor %}
{% endif %}
{% if button_inline %}
{% for title, elements in button_inline.items %}
{% for type, url_data in elements.items %}
{% if type == "link" %}
{{ title }}
{% elif type == "modal" %}
{{ title }}
{% endif %}
{% endfor %}
{% endfor %}
{% endif %}
|
{% endif %}