{% load proposal_tags %}{% load proposal_filters %}{% if not action.update.name %}{% if action.update.parent or action.update.fake_parent %}{% endif %}{% else %}Изменить подразделение {% endif %}https://{{ settings.STAFF_HOST }}{% url "departments-frontend:department" action.department.url %} {% if action.update.name %} на {{ action.update.name.new|plain_text }}{% elif action.update.fake_parent or action.update.parent %} перенести в {% endif %} {% if action.update.parent.new.url and not action.update.name %}((https://{{ settings.STAFF_HOST }}{% url "departments-frontend:department" action.update.parent.new.url %} {% firstof action.update.parent.new_dep_name action.update.parent.new.name %})){% elif action.update.fake_parent.new %} созданное {{ action.update.fake_parent.new|plain_text }} {% endif %} <{Изменения: {% if action.update.name %}{% name_section action.update.name %}{% endif %}{% if action.update.name_en %} {% name_en_section action.update.name_en %}{% endif %}{% if action.update.fake_parent %} {% parent_section action.update.parent action.update.fake_parent %}{% elif action.update.parent %}{% parent_section action.update.parent %}{% endif %}{% if action.update.chief %} {% chief_section action.update.chief %}{% endif %}{% if action.update.deputies %} {% deputies_section action.update.deputies %}{% endif %}{% if action.update.code %} {% code_section action.update.code %}{% endif %}{% if action.update.category %} {% category_section action.update.category %}{% endif %}{% if action.update.kind %} {% kind_section action.update.kind %}{% endif %}{% if action.update.position %} {% position_section action.update.position %}{% endif %} }>