diff options
| author | David Sanders <dsanders11@ucsbalum.com> | 2021-05-19 11:10:58 -0700 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2021-05-20 07:04:26 +0200 |
| commit | 2978c63a34b4aa0f170a1e5a0f8f4cb2811fa248 (patch) | |
| tree | fffd7274005dd197999fc23f103e7f98c4434bc0 /tests/admin_views/templates/admin | |
| parent | 6e155d280dbe4bab171619654d8abc4b7f197e78 (diff) | |
| download | django-2978c63a34b4aa0f170a1e5a0f8f4cb2811fa248.tar.gz | |
Fixed #32771 -- Used IS_POPUP_VAR constant instead of hard-coded value.
Diffstat (limited to 'tests/admin_views/templates/admin')
| -rw-r--r-- | tests/admin_views/templates/admin/admin_views/article/search_form.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/admin_views/templates/admin/admin_views/article/search_form.html b/tests/admin_views/templates/admin/admin_views/article/search_form.html index eef986cb30..3388766104 100644 --- a/tests/admin_views/templates/admin/admin_views/article/search_form.html +++ b/tests/admin_views/templates/admin/admin_views/article/search_form.html @@ -6,7 +6,7 @@ <input type="text" size="40" name="{{ search_var }}" value="{{ cl.query }}" id="searchbar" autofocus /> <input type="submit" value="{% translate 'Search' %}" /> {% if show_result_count %} - <span class="small quiet">{% blocktranslate count counter=cl.result_count %}{{ counter }} result{% plural %}{{ counter }} results{% endblocktranslate %} (<a href="?{% if cl.is_popup %}_popup=1{% endif %}">{% if cl.show_full_result_count %}{% blocktranslate with full_result_count=cl.full_result_count %}{{ full_result_count }} total{% endblocktranslate %}{% else %}{% translate "Show all" %}{% endif %}</a>)</span> + <span class="small quiet">{% blocktranslate count counter=cl.result_count %}{{ counter }} result{% plural %}{{ counter }} results{% endblocktranslate %} (<a href="?{% if cl.is_popup %}{{ is_popup_var }}=1{% endif %}">{% if cl.show_full_result_count %}{% blocktranslate with full_result_count=cl.full_result_count %}{{ full_result_count }} total{% endblocktranslate %}{% else %}{% translate "Show all" %}{% endif %}</a>)</span> {% endif %} {% for pair in cl.params.items %} {% if pair.0 != search_var %}<input type="hidden" name="{{ pair.0 }}" value="{{ pair.1 }}"/>{% endif %} |
