{% extends "base_logged_in.html" %} {% load i18n %} {% load static %} {% load crispy_forms_tags %} {% load template_filters %} {% block title %}{% trans "dokument.templates.dok.detail.title" %}{% endblock %} {% block head %} {% if show_neident_akce_edit %} {% endif %} {% endblock %} {% block content %}
{% include "toolbar_dokument.html" with d=dokument showcontrols=True is_3d=False showback=True%} {% include "state_component_document.html" with dokument=dokument %}
{% trans "dokument.templates.dok.detail.soubory.cardHeader" %}
{% if show.editovat %} {% endif %}
{% if soubory %} {% include "core/filetable.html" with next_url='/dokument/detail/' ident=dokument.ident_cely allow_replace=True vazba_trida="dokument" %} {% else %}
info {% trans "dokument.templates.dok.detail.soubory.DokbezSouboru.text" %}
{% endif %}
{% trans "dokument.templates.dok.detail.dokument.cardHeader" %}
{% if show.editovat %} {% endif %}
{% if warnings %} {% endif %} {% crispy form_dokument %}
{% trans "dokument.templates.dok.detail.dokument.divider.RozsirujuciPopis.text" %}
{% crispy form_dokument_extra %}
{% trans "dokument.templates.dok.detail.castiDokumentu.cardHeader" %}
{% if show.zapsat_cast %}
{% endif %}
{% block cast_dokumentu %} {% endblock %}
{% block komponenta %} {% endblock %} {% if show.tvary %}
{% trans "dokument.templates.dok.detail.tvary.cardHeader" %}
{% if form_tvary %}
{% crispy form_tvary tvary_helper %} {% if show.tvary_edit %} {% endif %}
{% else %}
info {% trans "dokument.templates.dok.detail.tvary.DokumentBezTvarov.text" %}
{% endif %}
{% endif %}
{% endblock %} {% block script %} {% endblock %}