{% extends "trainings/library_base.html" %} {% load i18n staticfiles template_tools %} {% block head %} {{ block.super }} {% include "cms/includes/orderable-head.html" %} {% include "cms/includes/lightbox-head.html" %} {% endblock %} {% block column_main %}
{% trans 'Back' %} {% if training.version_state == training.VERSION_STATES.ARCHIVED %} {% trans 'Archived scenario' %} {% elif training.version_state == training.VERSION_STATES.DRAFT %} {% trans 'Draft scenario' %} {% elif training.version_state == training.VERSION_STATES.PUBLISHED %} {% trans 'Published scenario' %} {% endif %}
{% include 'trainings/training_actions.html' with display='inline' %}
{% if training.pk and not training.is_editable %}
{% blocktrans with training_name=training.name training_version_state=training.get_version_state_display %} The training "{{ training_name }}" is "{{ training_version_state }}". Therefore, edition is not allowed anymore. In order to bring changes to it, you need to create a new draft with the button above. {% endblocktrans %}
{% endif %}

{{ training.name }}

{{ training.description }}

{% if training.job_profile %}

{% trans 'Job profile' %} {{ training.job_profile.name }}

{% endif %} {% if training.business_unit %}

{% trans 'Group' %} {{ training.business_unit.name }}

{% endif %}
{% if training.is_editable %} {% trans 'Modify the information' %} {% endif %}

{% trans 'Activities' %}

{% if training.is_editable %} {% trans 'Existing activity' %} {% trans 'New activity' %} {% endif %}
{% include 'trainings/trainingactivity_list_table.html' %}
{% include 'trainings/trainingactivity_create.html' %}
{% endblock %}