From 5623f0b3a4166a050c6bdf382437d81799b30f38 Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Fri, 21 Dec 2018 23:44:19 -0400 Subject: [PATCH] Improve the server error template appearance Add a red alert for faster visual scanning. Place the status code output in the same line as the initial message to save some vertical space for debug output. Signed-off-by: Roberto Rosario --- .../apps/appearance/static/appearance/js/partial_navigation.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mayan/apps/appearance/static/appearance/js/partial_navigation.js b/mayan/apps/appearance/static/appearance/js/partial_navigation.js index 896a99058d..479b0a0fac 100644 --- a/mayan/apps/appearance/static/appearance/js/partial_navigation.js +++ b/mayan/apps/appearance/static/appearance/js/partial_navigation.js @@ -170,8 +170,7 @@ class PartialNavigation { $('#ajax-content').html( ' \ -

Server Error

\ -

Status code: ' + jqXHR.status + '

\ + \
' +  errorMessage +' \
                     
\ '