% if (typeof network !== "undefined" && network.status == 503) { %>
<%= gettext("We are very sorry, the server is under extreme load!") %>
<% } else if (typeof network !== "undefined" && network.status == 403) { %>
<%= gettext("BrowserID requires cookies") %>
<%= format(gettext("Please close this window, enable cookies and try again"), [" target='_blank' href='http://support.mozilla.org/en-US/kb/Websites%20say%20cookies%20are%20blocked'"]) %>
<% } else { %>
<%= gettext("We are very sorry, there has been an error!") %>
<% } %>
<% if (!(typeof network !== "undefined" && network.status == 403)) { %>
<% if (typeof dialog !== "undefined" && dialog !== false) { %>
<%= gettext("Please reload the page and try again.") %>
<% } else { %>
<%= gettext("Please close this window and try again.") %>
<% } %>
<% } %>
<% if(typeof action !== "undefined" || typeof network !== "undefined") { %>
<%= gettext("See more info") %>
<% if (typeof action !== "undefined") { %>
-
Action: <%= action.title %>
<% if (action.message) { %>
<%= action.message %>
<% } %>
<% } %>
<% if (typeof network !== "undefined") { %>
-
Network Info: <%= network.type %>: <%= network.url %>
Response Code - <%= network.status %>
<% if (network.responseText) { %>
Response Text: <%= network.responseText %>
<% } %>
<% if (network.errorThrown) { %>
Error Type: <%= network.errorThrown %>
<% } %>
<% } %>
<% } %>