forked from admin/miem_workers
Скрыть служебную сводку подтверждения ДПО в карточке
This commit is contained in:
1 parent
76f92b05e3
commit
48604a7b2a
6 files changed
+11
-16
No files matched your search
@@ -11,18 +11,9 @@
|
||||
</fieldset>
|
||||
{% endmacro %}
|
||||
<section class="panel" id="unresolved-dpo" tabindex="-1">
|
||||
<h2 class="panel__title">Проверка ДПО</h2>
|
||||
{% if review %}
|
||||
<p>Подтверждено курсов: <strong>{{ review.courses | length }}</strong> · {{ review.updated_by }} · {{ review.updated_at | admin_datetime }}</p>
|
||||
{% if review.courses %}<ol>{% for course in review.courses %}
|
||||
<li>{{ course.title }} · {{ kinds[course.kind] }}{% if course.year %} · {{ course.year }}{% endif %}{% if course.evidence %} · {{ course.evidence }}{% endif %}</li>
|
||||
{% endfor %}</ol>{% endif %}
|
||||
{% endif %}
|
||||
{% if employee_view.dpo_uncertain %}
|
||||
<h3>Количество ДПО требует проверки</h3>
|
||||
{% if review %}<p>Сведения о ДПО изменились. В справочнике учтён последний подтверждённый список.</p>{% endif %}
|
||||
{% endif %}
|
||||
{% if employee_view.dpo_uncertain or review %}
|
||||
{% for section in employee_view.sections if section.type == 'additional_education' %}
|
||||
<h4>{{ section.title }} · сведения профиля</h4>
|
||||
{% if not section.list_items %}<p>В разделе ДПО не удалось выделить отдельные записи.</p>{% endif %}
|
||||
|
||||
+3
-3
@@ -1,3 +1,3 @@
|
||||
APP_VERSION = "2.4.0"
|
||||
FRONTEND_VERSION = "2.4.0"
|
||||
BACKEND_VERSION = "2.4.0"
|
||||
APP_VERSION = "2.4.1"
|
||||
FRONTEND_VERSION = "2.4.1"
|
||||
BACKEND_VERSION = "2.4.1"
|
||||
Reference in new issue
Block a user