##// END OF EJS Templates
notifications: switch to embedded alerts for HTTPNotFound
lisaq -
r823:39831f54 default
parent child Browse files
Show More
@@ -142,6 +142,10 b' input.inline[type="file"] {'
142 color: @grey2;
142 color: @grey2;
143 }
143 }
144
144
145 .alert {
146 margin: @padding 0;
147 }
148
145 .error-branding {
149 .error-branding {
146 font-family: @text-semibold;
150 font-family: @text-semibold;
147 color: @grey4;
151 color: @grey4;
@@ -22,7 +22,7 b''
22 <script type="text/javascript" src="${h.asset('js/scripts.js', ver=c.rhodecode_version_hash)}"></script>
22 <script type="text/javascript" src="${h.asset('js/scripts.js', ver=c.rhodecode_version_hash)}"></script>
23 </head>
23 </head>
24 <body>
24 <body>
25 <%include file="/base/flash_msg.html"/>
25 <% messages = h.flash.pop_messages() %>
26
26
27 <div class="wrapper error_page">
27 <div class="wrapper error_page">
28 <div class="sidebar">
28 <div class="sidebar">
@@ -35,6 +35,11 b''
35 </span><br/>
35 </span><br/>
36 ${c.error_message} | <span class="error_message">${c.error_explanation}</span>
36 ${c.error_message} | <span class="error_message">${c.error_explanation}</span>
37 </h1>
37 </h1>
38 % if messages:
39 % for message in messages:
40 <div class="alert alert-${message.category}">${message}</div>
41 % endfor
42 % endif
38 %if c.redirect_time:
43 %if c.redirect_time:
39 <p>${_('You will be redirected to %s in %s seconds') % (c.redirect_module,c.redirect_time)}</p>
44 <p>${_('You will be redirected to %s in %s seconds') % (c.redirect_module,c.redirect_time)}</p>
40 %endif
45 %endif
General Comments 0
You need to be logged in to leave comments. Login now