From c236357b4fca6b93b195f8242a5630ab4e049adb Mon Sep 17 00:00:00 2001 From: Henrik Levkowetz <henrik@levkowetz.com> Date: Wed, 5 Oct 2016 15:50:51 +0000 Subject: [PATCH] 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 --- ietf/templates/base.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ietf/templates/base.html b/ietf/templates/base.html index 00170bdfe..5f6626a3b 100644 --- a/ietf/templates/base.html +++ b/ietf/templates/base.html @@ -22,6 +22,9 @@ <link rel="stylesheet" href="{% static 'ietf/bootstrap/css/bootstrap.min.css' %}"> <link rel="stylesheet" href="{% static 'ietf/bootstrap/css/bootstrap-theme.min.css' %}"> <link rel="stylesheet" href="{% static 'ietf/css/ietf.css' %}"> + {% if debug %} + <link rel="stylesheet" href="{% static 'jquery.tablesorter/css/theme.bootstrap.min.css' %}"> + {% endif %} <style> {% block morecss %}{% endblock %} </style> @@ -158,6 +161,9 @@ <script src="{% static 'ietf/bootstrap/js/bootstrap.min.js' %}"></script> <script src="{% static 'ietf/js/ietf.js' %}"></script> {% block js %}{% endblock %} + {% if debug %} + <script src="{% static 'jquery.tablesorter/js/jquery.tablesorter.combined.min.js' %}"></script> + {% endif %} </body> </html>