{% extends "platform/base.html" %}

{% load i18n %}
{% block extra_head %}
    <script>
        localeMessages = {
            ...localeMessages,
            "actions": "{% translate 'Actions' %}",
            "all": "{% translate 'All' %}",
            "enable_course": "{% translate 'Enable COURSE_NAME' %}",
            "disable_course": "{% translate 'Disable COURSE_NAME' %}",
            "delete_course": "{% translate 'Delete COURSE_NAME' %}",
            "enabled": "{% translate 'Enabled' %}",
            "disabled": "{% translate 'Disabled' %}",
            "title": "{% translate 'Title' %}",
            "slug": "{% translate 'Slug' %}",
            "filter": "{% translate 'Filter' %}",
            "add_course": "{% translate 'Add a Course' %}",
            "course_status": "{% translate 'Course Status' %}",
            "cancel": "{% translate 'Cancel' %}",
            "delete": "{% translate 'Delete' %}",
            "create": "{% translate 'Create' %}",
            "continue": "{% translate 'Continue' %}",
            "update": "{% translate 'Update' %}",
            "course_title": "{% translate 'Course Title' %}",
            "course_description": "{% translate 'Course Description' %}",
            "course_slug": "{% translate 'Course Slug' %}",
            "add_imap_connection": "{% translate 'Add IMAP Connection' %}",
            "imap_connection_tooltip": "{% translate 'You don\'t need an IMAP connection to build your course, but you will need one if you want your users to interact via email. For example, they can sign up or check their progress just by sending a message. This is a great solution if your audience has limited platform access.' %}",
            "new_imap_connection": "{% translate 'New IMAP Connection' %}",
            "imap_connection": "{% translate 'IMAP Connection' %}",
            "add": "{% translate 'Add' %}",
            "email": "{% translate 'Email' %}",
            "password": "{% translate 'Password' %}",
            "server": "{% translate 'Server' %}",
            "port": "{% translate 'Port' %}",
            "course_enable_confirmation": "{% translate 'Are you sure you want to enable the course COURSE_NAME?' %}",
            "course_disable_confirmation": "{% translate 'Are you sure you want to disable the course COURSE_NAME?' %}",
            "course_delete_confirmation": "{% translate 'Are you sure you want to delete the course COURSE_NAME?' %}",
            "title_required_helper_text": "{% translate 'The course title is required.' %}",
            "description_required_helper_text": "{% translate 'The course description is required.' %}",
            "slug_required_helper_text": "{% translate 'The course slug is required.' %}",
            "email_required_helper_text": "{% translate 'The email is required.' %}",
            "password_required_helper_text": "{% translate 'The password is required.' %}",
            "server_required_helper_text": "{% translate 'The server is required.' %}",
            "port_required_helper_text": "{% translate 'The port is required.' %}",
            "invalid_port_helper_text": "{% translate 'The port must be a valid number.' %}",
            "invalid_email_helper_text": "{% translate 'The email must be a valid email address.' %}",
            "total_enrollments": "{% translate 'Total Enrollments' %}",
        }
    </script>
    <link rel="modulepreload" crossorigin href="/static/assets/render-CsAa6Dr_.js">
    <link rel="modulepreload" crossorigin href="/static/assets/Base-BSqEL6Lb.js">
    <link rel="modulepreload" crossorigin href="/static/assets/RequiredTextField-Bz89YX4-.js">
    <link rel="modulepreload" crossorigin href="/static/assets/ExpandMore-DURZRyZk.js">
    <link rel="modulepreload" crossorigin href="/static/assets/Add-vjzxrvRJ.js">
    <link rel="modulepreload" crossorigin href="/static/assets/utils-B_PI31II.js">
    <link rel="modulepreload" crossorigin href="/static/assets/Alert-C1JjHWpG.js">
    <link rel="modulepreload" crossorigin href="/static/assets/Button-DRzV9gyj.js">
    <link rel="modulepreload" crossorigin href="/static/assets/FormControlLabel-Dzjgiqpq.js">
    <link rel="modulepreload" crossorigin href="/static/assets/FilterList-EHBZspxi.js">
    <link rel="modulepreload" crossorigin href="/static/assets/Delete-DK39hE54.js">
    <link rel="modulepreload" crossorigin href="/static/assets/Edit-CaBwSg4G.js">
    <link rel="modulepreload" crossorigin href="/static/assets/Dialog-DXg9g5Sc.js">
    <link rel="modulepreload" crossorigin href="/static/assets/DialogActions-CQFWjT9y.js">
    <link rel="modulepreload" crossorigin href="/static/assets/SwitchBase-Bk6NkRGa.js">
    <link rel="stylesheet" href="/static/assets/render-tn0RQdqM.css">
    <script type="module" crossorigin src="/static/assets/courses-C64v8WEK.js"></script>
{% endblock %}
