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