diff options
author | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2020-09-18 07:59:57 +0200 |
---|---|---|
committer | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2020-09-18 07:59:57 +0200 |
commit | 0daf4999e006c19d84d72bdd83444541feba941e (patch) | |
tree | cf12bc7dc269b1a3ea1c5585cadd09e134b83c2f /basicConfig/templates/error_message.html | |
parent | d9970493ecf3d3da3f800bcc0336717ae51fe2bf (diff) | |
download | National_eIDAS_Gateway-0daf4999e006c19d84d72bdd83444541feba941e.tar.gz National_eIDAS_Gateway-0daf4999e006c19d84d72bdd83444541feba941e.tar.bz2 National_eIDAS_Gateway-0daf4999e006c19d84d72bdd83444541feba941e.zip |
fix possible nullpointer in HTML template for error messages
Diffstat (limited to 'basicConfig/templates/error_message.html')
-rw-r--r-- | basicConfig/templates/error_message.html | 29 |
1 files changed, 14 insertions, 15 deletions
diff --git a/basicConfig/templates/error_message.html b/basicConfig/templates/error_message.html index da423592..7ec8aa0d 100644 --- a/basicConfig/templates/error_message.html +++ b/basicConfig/templates/error_message.html @@ -12,25 +12,24 @@ <body> <div id="page"> - <div id="page1" class="case selected-case" role="main"> - <h2 class="OA_header" role="heading">Authentication error arise</h2> - - <div class="hell" role="application" > + <div id="page1" class="case selected-case" role="main"> + <h2 class="OA_header" role="heading">Authentication error arise</h2> + + <div class="hell" role="application" > <h2 class="OA_header" role="heading" th:text="#{gui.errorpage.msg.title}">Error Header</h2> <div id="alert_area" class="hell" role="application" > <p th:text="#{gui.errorpage.msg.information}">Error Information</p> - <br/> - <p><b th:text="#{gui.errorpage.msg.errorcode}">Code :</b> <span th:text="${msg.errorCode}"></span></p> - <p><b th:text="#{gui.errorpage.msg.errormsg}">Msg :</b > <span th:text="${#messages.msgWithParams('__${msg.errorCode}__', '__${msg.errorParams}__')}"></span></p> - </div> - <!-- errorMsg --> - </div> - - <div th:if="${stacktrace}"> - <p><b th:text="#{gui.errorpage.msg.stacktrace}">fullError</b> <span th:text="${stacktrace}"></span></p> - </div> - + <br/> + <p><b th:text="#{gui.errorpage.msg.errorcode}">Code :</b> <span th:text="${msg.errorCode}"></span></p> + <p><b th:text="#{gui.errorpage.msg.errormsg}">Msg :</b > <span th:text="${#messages.msgWithParams('__${msg.errorCode}__', '__${msg.errorParams}__')}"></span></p> + </div> + </div> + + <div th:if="${msg.stacktrace}"> + <p><b th:text="#{gui.errorpage.msg.stacktrace}">fullError</b> <span th:text="${msg.stacktrace}"></span></p> + </div> + </div> </div> </body> |