Fix the send SDO reminder admin template to not rely on adminmedia which is now gone, also fix up the formatting and add a title
- Legacy-Id: 6973
This commit is contained in:
parent
1df2a37a9f
commit
8c35b3e6da
|
@ -1,8 +1,8 @@
|
|||
{% extends "admin/base_site.html" %}
|
||||
|
||||
{% load i18n admin_modify adminmedia %}
|
||||
{% load i18n admin_modify %}
|
||||
|
||||
{% block extrastyle %}{{ block.super }}<link rel="stylesheet" type="text/css" href="{% admin_media_prefix %}css/forms.css" />{% endblock %}
|
||||
{% block title %}Send SDO reminders{% endblock %}
|
||||
|
||||
{% block bodyclass %}change-form{% endblock %}
|
||||
|
||||
|
@ -15,33 +15,29 @@
|
|||
</div>
|
||||
{% endif %}{% endblock %}
|
||||
|
||||
{% block content %}<div id="content-main">
|
||||
<div>
|
||||
<h1>Send a reminder to each SDO Liaison Manager</h1>
|
||||
{% if output %}
|
||||
<p>
|
||||
Reminder sent successfully. See the output of the command:
|
||||
</p>
|
||||
<pre>
|
||||
{{ output }}
|
||||
</pre>
|
||||
{% else %}
|
||||
{% if sdo %}
|
||||
<p>
|
||||
You can send a reminder to the {{ sdo }} SDO Liaison Manager to request an updated list of persons authorized to send liaison statements on behalf of {{ sdo }}</h1>
|
||||
</p>
|
||||
{% else %}
|
||||
<p>
|
||||
You can send a reminder to each SDO Liaison Manager to request an updated list of persons authorized to send liaison statements on behalf of his SDO</h1>
|
||||
</p>
|
||||
<p>
|
||||
By clicking the 'Send' button you will send a request to <b>all</b> the SDO Liaison Managers. In order to send the request to one SDO Liaison Manager go to the SDO edit page.
|
||||
</p>
|
||||
{% endif %}
|
||||
<form action="" method="post">{% csrf_token %}
|
||||
<input type="submit" name="send" value="Send" />
|
||||
</form>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% block content %}
|
||||
<div id="content-main">
|
||||
<h1>Send a reminder to {% if sdo %}{{ sdo }} SDO Liaison Manager{% else %}all SDO Liaison Managers{% endif %}</h1>
|
||||
|
||||
{% if output %}
|
||||
<p>Reminder sent successfully. See the output of the command:</p>
|
||||
<pre>
|
||||
{{ output }}
|
||||
</pre>
|
||||
|
||||
{% else %}
|
||||
|
||||
{% if sdo %}
|
||||
<p>You can send a reminder to the {{ sdo }} SDO Liaison Manager to request an updated list of persons authorized to send liaison statements on behalf of {{ sdo }}</p>
|
||||
{% else %}
|
||||
<p>You can send a reminder to each SDO Liaison Manager to request an updated list of persons authorized to send liaison statements on behalf of the SDO.</p>
|
||||
|
||||
<p>By clicking the 'Send' button you will send a request to <b>all</b> the SDO Liaison Managers. In order to send the request to one SDO Liaison Manager go to the SDO edit page.</p>
|
||||
{% endif %}
|
||||
|
||||
<form action="" method="post">{% csrf_token %}
|
||||
<input type="submit" name="send" value="Send reminder" />
|
||||
</form>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
Loading…
Reference in a new issue