Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Maxime Chaillet
doi-landing-page
Commits
0ff61e0b
Commit
0ff61e0b
authored
Jun 28, 2018
by
Maxime Chaillet
Browse files
Improve error message based on merge request review.
parent
80306938
Pipeline
#3987
failed with stages
Changes
2
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
www/min/doi.min.js
View file @
0ff61e0b
This diff is collapsed.
Click to expand it.
www/src/doiview.js
View file @
0ff61e0b
...
...
@@ -109,9 +109,9 @@ DOIView.prototype.renderError = function (jqXHR, errorThrown, origin) {
}
}
else
{
if
(
origin
===
"
welcome-page
"
)
{
message
=
"
<h3> Not found ! </h3> <p> Connexion problem to the
server.
</p>
"
;
message
=
"
<h3> Not found ! </h3> <p> Connexion problem to the
datacite server. Please try again later.
</p>
"
;
}
else
{
message
=
"
<h2> Not found ! </h2> <p> Connexion problem to the
server.
</p>
"
;
message
=
"
<h2> Not found ! </h2> <p> Connexion problem to the
datacite server. Please try again later.
</p>
"
;
}
}
dust
.
render
(
template
,
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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