Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
dariah
search-commons-views
Commits
ca479bb9
Commit
ca479bb9
authored
May 18, 2021
by
Gradl, Tobias
Browse files
428: Show real error page instead of Whitelabel Error Page (OPENED)
Task-Url:
search#428
parent
7274639e
Changes
2
Hide whitespace changes
Inline
Side-by-side
common/error.jsp
View file @
ca479bb9
...
@@ -12,25 +12,21 @@
...
@@ -12,25 +12,21 @@
<div
class=
"container
<c:if
test=
"
${
fluidLayout
==
true
}
"
>
-fluid
</c:if>
"
>
<div
class=
"container
<c:if
test=
"
${
fluidLayout
==
true
}
"
>
-fluid
</c:if>
"
>
<div
class=
"row"
>
<div
class=
"row"
>
<div
class=
"col-12"
>
<div
class=
"col-12"
>
<h1>
${errorHeading}
</h1>
<c:if
test=
"
${
errorMsg
!=
null
}
"
>
<h1>
${error} ${reason}
</h1>
<p>
<em>
Message
</em>
: ${errorMsg}
<c:if
test=
"
${
hideHelpText
==
null
||
hideHelpText
==
false
}
"
>
</p>
<p>
Please try to reproduce the steps that led to this error and notify the DARIAH-DE helpdesk if you suspect an issue with this service.
</p>
</c:if>
</c:if>
<c:if
test=
"
${
errorDetail
!=
null
}
"
>
<div
class=
"alert alert-${errorLevel==null ? 'error' : errorLevel}"
role=
"alert"
>
${errorDetail}
</div>
<ul>
</c:if>
<li><a
href=
"
<s:url
value=
'/'
/>
"
><i
class=
"ti-home"
></i></a></li>
<li><a
href=
"
<s:url
value=
'/search/simple/'
/>
"
><s:message
code=
"~eu.dariah.de.minfba.search.view.titles.simple_search"
/></a></li>
<c:if
test=
"
${
hideHelpText
==
null
||
hideHelpText
==
false
}
"
>
<li><a
href=
"
<s:url
value=
'/search/extended/'
/>
"
><s:message
code=
"~eu.dariah.de.minfba.search.view.titles.extended_search"
/></a></li>
<p>
Please try to reproduce the steps that led to this error and notify the DARIAH-DE helpdesk if the problem persists
</p>
</ul>
</c:if>
<pre
style=
"display: none;"
>
Failed URL: ${url}
Exception: ${exception.message}
<c:forEach
items=
"
${
exception
.
stackTrace
}
"
var=
"ste"
>
${ste}
</c:forEach>
</pre>
</div>
</div>
</div>
</div>
</div>
</div>
templates/incl/head.jsp
View file @
ca479bb9
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
<script
type=
"text/javascript"
>
<script
type=
"text/javascript"
>
var
AppProperties
=
function
()
{
var
AppProperties
=
function
()
{
this
.
refreshViews
=
<c:out
value=
"
${
_refreshViews
}
"
/>
;
this
.
refreshViews
=
<c:out
value=
"
${
_refreshViews
==
null
?
true
:
_refreshViews
}
"
/>
;
this
.
refreshIntervalMs
=
5000
;
this
.
refreshIntervalMs
=
5000
;
this
.
notificationsArea
=
"
#notifications-area
"
;
this
.
notificationsArea
=
"
#notifications-area
"
;
this
.
notificationsTimeoutMs
=
5000
;
this
.
notificationsTimeoutMs
=
5000
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment