Skip to content

Commit 2820bed

Browse files
committed
fix jsi18n issue
1 parent aa2b4fc commit 2820bed

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

adminlteui/templates/admin/change_list.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@
2020

2121
{% block custom_style %}
2222
<link rel="stylesheet" href="{% static "admin/plugins/datatables/dataTables.bootstrap.css" %}">
23+
{% if cl.formset or action_form %}
24+
<script type="text/javascript" src="{% url 'admin:jsi18n' %}"></script>
25+
{% endif %}
2326
{% endblock %}
2427

2528
{% block extrahead %}
@@ -39,6 +42,8 @@
3942
{% endblock %}
4043
{% endif %}
4144

45+
{% block content_title %} {{ cl.opts.verbose_name_plural|capfirst }} {% endblock %}
46+
4247
{% block coltype %}flex{% endblock %}
4348

4449
{% block content %}
@@ -58,7 +63,7 @@
5863
</div>
5964

6065
{% block object-tools %}
61-
<div class="row">
66+
<div class="row" style="margin-bottom: 15px;">
6267
{% block object-tools-items %}
6368
{% change_list_object_tools %}
6469
{% endblock %}

0 commit comments

Comments
 (0)