-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix Alias language filer selector UI issue.
- Loading branch information
1 parent
abbad0d
commit acd9871
Showing
2 changed files
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
djangocms_version_locking/templates/monkeypatch/cms/admin/cms/grouper/change_list.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{% extends "admin/change_list.html" %}{% load i18n %} | ||
{% block search %} | ||
<div class="language-selector" style="width: fit-content; margin-bottom: 1em;"> | ||
<label>{% trans "Language" %}: </label> | ||
<select class="language-selector js-language-selector" style="min-width: 180px;"> | ||
{% for code, lang in cl.model_admin.get_language_tuple %} | ||
<option value="{{ code }}"{% if cl.model_admin.language == code %} selected{% endif %}>{{ lang }}</option> | ||
{% endfor %} | ||
</select> | ||
</div>{{ block.super }} | ||
{% endblock %} |