Skip to content
Snippets Groups Projects
Commit b488b413 authored by Shane Tomlinson's avatar Shane Tomlinson
Browse files

Cleaning up the last of the error messages.

issue #835
parent 5458b180
No related branches found
No related tags found
No related merge requests found
......@@ -9,27 +9,31 @@
</h2>
<% } else if (typeof network !== "undefined" && network.status == 403) { %>
<h2 id="error_403">
<%= gettext("We are sorry, BrowserID required cookies") %>
<%= gettext("BrowserID required cookies") %>
</h2>
<%= gettext("BrowserID requires your browser's cookies to be enabled to operate. Please enable your browser's cookies.") %>
<%= gettext("Please close this window, <a target='_blank' href='http://support.mozilla.org/en-US/kb/Websites%20say%20cookies%20are%20blocked'>enable cookies</a> and try again") %>
<% } else { %>
<h2 id="defaultError">
<%= gettext("We are very sorry, there has been an error!") %>
</h2>
<% } %>
<p>
<% if (typeof dialog !== "undefined" && dialog !== false) { %>
<%= gettext("To retry, you will have to reload the page and try again.") %>
<% } else { %>
<%= gettext("To retry, you will have to close this window and try again.") %>
<% if (!(typeof network !== "undefined" && network.status == 403)) { %>
<p>
<% if (typeof dialog !== "undefined" && dialog !== false) { %>
<%= gettext("To retry, you will have to reload the page and try again.") %>
<% } else { %>
<%= gettext("To retry, you will have to close this window and try again.") %>
<% } %>
</p>
<% } %>
</p>
<% if(typeof action !== "undefined" || typeof network !== "undefined") { %>
<a href="#" id="openMoreInfo">
<%= gettext("See more info") %>
</a>
<p>
<a href="#" id="openMoreInfo">
<%= gettext("See more info") %>
</a>
</p>
<ul id="moreInfo">
<% if (typeof action !== "undefined") { %>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment