* chore: Use codespell to fix typos in code. Second part of replacement of #4651 @rjsparks, I probably need to revert some things here, and I also still need to add that new migration - how do I do that? * Revert migrations * Migrate "Whitelisted" to "Allowlisted" * TEST_COVERAGE_MASTER_FILE -> TEST_COVERAGE_MAIN_FILE * Fix permissions * Add suggestions from @jennifer-richards
64 lines
2.7 KiB
HTML
64 lines
2.7 KiB
HTML
{% extends "base.html" %}
|
|
{# Copyright The IETF Trust 2015, All Rights Reserved #}
|
|
{% load origin static django_bootstrap5 %}
|
|
{% block title %}Add drafts to {{ session.meeting }} : {{ session.group.acronym }}{% endblock %}
|
|
{% block pagehead %}{{ form.media.css }}{% endblock %}
|
|
{% block content %}
|
|
{% origin %}
|
|
<h1>
|
|
Add drafts to {{ session.meeting }}
|
|
{% if session_number %}: Session {{ session_number }}{% endif %}
|
|
<br>
|
|
<small class="text-muted">{{ session.group.acronym }}
|
|
{% if session.name %}: {{ session.name }}{% endif %}
|
|
</small>
|
|
</h1>
|
|
{% comment %} TODO: put the session name here or calculate the number at the meeting {% endcomment %}
|
|
{% if session.is_material_submission_cutoff %}
|
|
<div class="alert alert-warning my-3">
|
|
The deadline for submission corrections has passed. This may affect published proceedings.
|
|
</div>
|
|
{% endif %}
|
|
<div class="alert alert-info my-3">
|
|
This form will link additional drafts to this session with a revision of "Current at time of presentation". For more fine grained control of versions, or to remove a draft from a session, adjust the sessions associated with a draft from the draft's main page.
|
|
</div>
|
|
<h2 class="mt-5">Drafts already linked to this session</h2>
|
|
<table class="table table-sm table-striped tablesorter">
|
|
<thead>
|
|
<tr>
|
|
<th scope="col" data-sort="num">Revision</th>
|
|
<th scope="col" data-sort="document">Document</th>
|
|
</tr>
|
|
</thead>
|
|
{% if already_linked %}
|
|
<tbody>
|
|
{% for sp in already_linked %}
|
|
<tr>
|
|
<td>
|
|
{% if sp.rev %}
|
|
-{{ sp.rev }}
|
|
{% else %}
|
|
(current)
|
|
{% endif %}
|
|
</td>
|
|
<td>{{ sp.document.title }} ({{ sp.document.name }})</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
{% endif %}
|
|
</table>
|
|
<h2 class="mt-5">Additional drafts to link to this session</h2>
|
|
<form method="post">
|
|
{% csrf_token %}
|
|
{% bootstrap_form form %}
|
|
<button class="btn btn-{% if session.is_material_submission_cutoff %}warning{% else %}primary{% endif %}"
|
|
type="submit">
|
|
Save
|
|
</button>
|
|
<a class="btn btn-secondary float-end"
|
|
href="{% url 'ietf.meeting.views.session_details' num=session.meeting.number acronym=session.group.acronym %}">
|
|
Back
|
|
</a>
|
|
</form>
|
|
{% endblock %}
|
|
{% block js %}{{ form.media.js }}{% endblock %} |