2 changed files with 20 additions and 4 deletions
@ -1,8 +1,21 @@ |
|||||||
{% extends "admin/change_form.html" %} |
{% extends "admin/change_form.html" %} |
||||||
|
|
||||||
|
|
||||||
{% block breadcrumbs %} |
{% block breadcrumbs %} |
||||||
{{ block.super }} |
{{ block.super }} |
||||||
|
{% if not is_popup %} |
||||||
|
<div class="language-switcher"> |
||||||
|
{% include "multilingual/admin/switch_language.html" %} |
||||||
|
</div> |
||||||
|
{% endif %} |
||||||
|
{% endblock %} |
||||||
|
|
||||||
|
|
||||||
|
{% block object-tools %} |
||||||
|
{% if is_popup %} |
||||||
<div class="language-switcher"> |
<div class="language-switcher"> |
||||||
{% include "multilingual/admin/switch_language.html" %} |
{% include "multilingual/admin/switch_language.html" %} |
||||||
</div> |
</div> |
||||||
|
{% endif %} |
||||||
|
{{ block.super }} |
||||||
{% endblock %} |
{% endblock %} |
||||||
|
Loading…
Reference in new issue