datatracker/ietf/templates/meeting/approve_proposed_slides.html
Lars Eggert 9d5d9d5172
fix: replace deprecated bootstrap things (#5858)
* text-muted -> text-body-secondary

* navbar-dark is deprecated

* Remove FIXME block, not an issue anymore

* Remove `navbar-light`
2023-07-18 12:22:28 -05:00

39 lines
1.7 KiB
HTML

{% extends "base.html" %}
{# Copyright The IETF Trust 2015, All Rights Reserved #}
{% load origin static django_bootstrap5 tz %}
{% block title %}
Approve Slides Proposed for {{ submission.session.meeting }} : {{ submission.session.group.acronym }}
{% endblock %}
{% block content %}
{% origin %}
<h1>
Approve slides proposed for {{ submission.session.meeting }}
<br>
<small class="text-body-secondary">{{ submission.session.group.acronym }}
{% if session.name %}: {{ submission.session.name }}{% endif %}
</small>
</h1>
{% if session_number %}
<h2>
Session {{ session_number }} : {{ submission.session.official_timeslotassignment.timeslot.time|timezone:submission.session.meeting.time_zone|date:"D M-d-Y Hi" }}
</h2>
{% endif %}
<p class="alert alert-info my-3">
{{ submission.submitter }} proposed these slides for this session:
<a href="{{ submission.staged_url }}">{{ submission.staged_url }}</a>.
</p>
{% if existing_doc %}
<p class="alert alert-warning my-3">
Warning: If you approve this set of slides with the proposed title of "{{ submission.title }}", it will replace an existing set of slides. If that's not what you intend, please adjust the title.
</p>
{% endif %}
<form enctype="multipart/form-data" method="post" class="my-3">
{% csrf_token %}
{% bootstrap_form form %}
<button type="submit" class="btn btn-primary" name="approve" value="approve">Approve</button>
<button type="submit"
class="btn btn-warning"
name="disapprove"
value="disapprove">Disapprove and Delete</button>
</form>
{% endblock %}