Skip to content

Commit c236357

Browse files
committed
Ensure we're including the tablesorter css and js in debug mode, since we're using tablesorter for the sql_queries table.
- Legacy-Id: 12090
1 parent 5f03d70 commit c236357

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

ietf/templates/base.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@
2222
<link rel="stylesheet" href="{% static 'ietf/bootstrap/css/bootstrap.min.css' %}">
2323
<link rel="stylesheet" href="{% static 'ietf/bootstrap/css/bootstrap-theme.min.css' %}">
2424
<link rel="stylesheet" href="{% static 'ietf/css/ietf.css' %}">
25+
{% if debug %}
26+
<link rel="stylesheet" href="{% static 'jquery.tablesorter/css/theme.bootstrap.min.css' %}">
27+
{% endif %}
2528
<style>
2629
{% block morecss %}{% endblock %}
2730
</style>
@@ -158,6 +161,9 @@
158161
<script src="{% static 'ietf/bootstrap/js/bootstrap.min.js' %}"></script>
159162
<script src="{% static 'ietf/js/ietf.js' %}"></script>
160163
{% block js %}{% endblock %}
164+
{% if debug %}
165+
<script src="{% static 'jquery.tablesorter/js/jquery.tablesorter.combined.min.js' %}"></script>
166+
{% endif %}
161167
</body>
162168
</html>
163169

0 commit comments

Comments
 (0)