Move the endpoint deprecation warning out of base.html

This is part 1 of the removal of awx/templates/rest_framework/base.html.
This commit is contained in:
Jeff Bradberry
2019-06-03 16:11:34 -04:00
parent 2a81643308
commit 34d76422d6
2 changed files with 9 additions and 5 deletions

View File

@@ -48,6 +48,15 @@
</div>
{% endblock %}
{% block content %}
{% if deprecated %}
<div class="breadcrumb" style="background: #FCC;">
<b>This resource has been deprecated and will be removed in a future release.</b>
</div>
{% endif %}
{{ block.super }}
{% endblock content %}
{% block script %}
<div id="footer">
<div class="container">

View File

@@ -73,11 +73,6 @@
<!-- Content -->
<div id="content" role="main" aria-label="{% trans "content" %}">
{% if deprecated %}
<div class="breadcrumb" style="background: #FCC;">
<b>This resource has been deprecated and will be removed in a future release.</b>
</div>
{% endif %}
{% block content %}
<div class="region" aria-label="{% trans "request form" %}">