* feat: Allow entering agenda text directly (#6532) * fix: Hide label as well as file/text input box * refactor: Package javascript for static/dist * fix: Fix test cases broken by view changes * test: Add test case for entering agenda text * refactor: assertRedirects
37 lines
1.2 KiB
HTML
37 lines
1.2 KiB
HTML
{% extends "base.html" %}
|
|
{# Copyright The IETF Trust 2015-2023, All Rights Reserved #}
|
|
{% load origin static django_bootstrap5 tz %}
|
|
{% block title %}
|
|
{% if agenda_sp %}
|
|
Revise
|
|
{% else %}
|
|
Upload
|
|
{% endif %}
|
|
Agenda for {{ session.meeting }} : {{ session.group.acronym }}
|
|
{% endblock %}
|
|
{% block content %}
|
|
{% origin %}
|
|
<h1>
|
|
{% if agenda_sp %}
|
|
Revise
|
|
{% else %}
|
|
Upload
|
|
{% endif %}
|
|
Agenda for {{ session.meeting }}
|
|
<br>
|
|
<small class="text-body-secondary">{{ session.group.acronym }}
|
|
{% if session.name %}: {{ session.name }}{% endif %}
|
|
</small>
|
|
</h1>
|
|
{% if session_number %}
|
|
<h2>Session {{ session_number }} : {{ session.official_timeslotassignment.timeslot.time|timezone:session.meeting.time_zone|date:"D M-d-Y Hi" }}</h2>
|
|
{% endif %}
|
|
<form enctype="multipart/form-data" method="post" class="my-3">
|
|
{% csrf_token %}
|
|
{% bootstrap_form form %}
|
|
<button type="submit" class="btn btn-primary">Save</button>
|
|
</form>
|
|
{% endblock %}
|
|
{% block js %}
|
|
<script src="{% static 'ietf/js/upload-session-agenda.js' %}"></script>
|
|
{% endblock %} |