From 12e500e55d3763688f5b8594be67701afa3d8a9b Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Thu, 3 Nov 2016 15:35:03 -0400 Subject: [PATCH] Display a message instead of a UI specific icon when there are not pages to show. --- mayan/apps/documents/widgets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mayan/apps/documents/widgets.py b/mayan/apps/documents/widgets.py index a0b7f9870d..21143b67df 100644 --- a/mayan/apps/documents/widgets.py +++ b/mayan/apps/documents/widgets.py @@ -72,7 +72,7 @@ class DocumentPagesCarouselWidget(forms.widgets.Widget): output.append('') if not total_pages: - output.append('') + output.append('

No pages to display

') output.append('')