use absolute URLs for login and selfservice registration
This commit is contained in:
parent
9bf69e88b3
commit
65ad427413
1 changed files with 5 additions and 4 deletions
|
@ -324,11 +324,12 @@
|
||||||
<metal:login define-macro="login">
|
<metal:login define-macro="login">
|
||||||
<div>
|
<div>
|
||||||
<a href="login.html"
|
<a href="login.html"
|
||||||
i18n:translate="">Log in</a></div>
|
tal:attributes="href string:${view/topMenu/url}/login.html"
|
||||||
|
i18n:translate="">Log in</a></div>
|
||||||
<div tal:define="register python:view.globalOptions('provideLogin')"
|
<div tal:define="register python:view.globalOptions('provideLogin')"
|
||||||
tal:condition="register">
|
tal:condition="python:register and register != True">
|
||||||
<a tal:condition="python:register != True"
|
<a tal:define="reg python:register[0]"
|
||||||
tal:attributes="href python:register[0]"
|
tal:attributes="href string:${view/topMenu/url}/$reg"
|
||||||
i18n:translate="">Register new member</a></div>
|
i18n:translate="">Register new member</a></div>
|
||||||
</metal:login>
|
</metal:login>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue