make deprecation warnings at /api/ much more obvious

This commit is contained in:
Ryan Petrello
2019-04-18 12:10:07 -04:00
parent 8cc18f501e
commit 4159a9b6af
2 changed files with 11 additions and 0 deletions

View File

@@ -73,6 +73,11 @@
<!-- 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" %}">