From ecdc4a9a51d141ab175b0775dc7cbe07e2106107 Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Fri, 16 Nov 2018 18:48:32 -0400 Subject: [PATCH] Appearance: Remove unused form_empty_label flag This is superseded by the empty results template. Signed-off-by: Roberto Rosario --- HISTORY.rst | 1 + .../templates/appearance/generic_form_subtemplate.html | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/HISTORY.rst b/HISTORY.rst index bf8094e76b..00493b74b9 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -10,6 +10,7 @@ querystring keys - Dependencies: Update Python dependencies version. Remove django suit as a dependency. +- Appearance: Remove unused form_empty_label flag. 3.1.9 (2018-11-01) ================== diff --git a/mayan/apps/appearance/templates/appearance/generic_form_subtemplate.html b/mayan/apps/appearance/templates/appearance/generic_form_subtemplate.html index c9e3b313f2..990e207631 100644 --- a/mayan/apps/appearance/templates/appearance/generic_form_subtemplate.html +++ b/mayan/apps/appearance/templates/appearance/generic_form_subtemplate.html @@ -58,11 +58,7 @@ {% include 'appearance/generic_form_instance.html' %} {% empty %} - {% if form_empty_label %}{{ form_empty_label }}{% else %} - {% include 'appearance/no_results.html' %} - - {% endif %} {% endfor %}