Mercurial > kallithea
comparison pylons_app/templates/login.html @ 417:3ed2d46a2ca7
permission refactoring,
Implemented views for default permissions,
fixes #23 user registration is controlled by permission system.
Implemented manual registration option
websetup fills default permissions
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sat, 21 Aug 2010 16:34:37 +0200 |
parents | 558eb7c5028f |
children | 930f8182a884 |
comparison
equal
deleted
inserted
replaced
416:25ab66a26975 | 417:3ed2d46a2ca7 |
---|---|
59 </div> | 59 </div> |
60 <!-- end fields --> | 60 <!-- end fields --> |
61 <!-- links --> | 61 <!-- links --> |
62 <div class="links"> | 62 <div class="links"> |
63 ${h.link_to(_('Forgot your password ?'),h.url('#'))} | 63 ${h.link_to(_('Forgot your password ?'),h.url('#'))} |
64 / | 64 %if h.HasPermissionAny('hg.admin', 'hg.register.auto_activate', 'hg.register.manual_activate')(): |
65 ${h.link_to(_("Don't have an account ?"),h.url('register'))} | 65 / |
66 ${h.link_to(_("Don't have an account ?"),h.url('register'))} | |
67 %endif | |
66 </div> | 68 </div> |
67 | 69 |
68 <!-- end links --> | 70 <!-- end links --> |
69 </div> | 71 </div> |
70 ${h.end_form()} | 72 ${h.end_form()} |