Mercurial > kallithea
diff rhodecode/templates/login.html @ 1056:520d27f40b51 beta
#113 removed anonymous access from forking, added system messages in login box.
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Tue, 15 Feb 2011 23:19:01 +0100 |
parents | 90eadff2c2a8 |
children | c9a9e0b3baf8 |
line wrap: on
line diff
--- a/rhodecode/templates/login.html Tue Feb 15 23:03:33 2011 +0100 +++ b/rhodecode/templates/login.html Tue Feb 15 23:19:01 2011 +0100 @@ -12,7 +12,17 @@ </head> <body> -<div id="login"> + <div id="login"> + <div class="flash_msg"> + <% messages = h.flash.pop_messages() %> + % if messages: + <ul id="flash-messages"> + % for message in messages: + <li class="${message.category}_msg">${message}</li> + % endfor + </ul> + % endif + </div> <!-- login --> <div class="title top-left-rounded-corner top-right-rounded-corner"> <h5>${_('Sign In to')} ${c.rhodecode_name}</h5>