Ignore:
Timestamp:
10 Mar 2015, 10:53:16 (10 years ago)
Author:
Henrik Bettermann
Message:

Add 'Register' link to self-registration page.

Location:
main/waeup.ikoba/trunk/src/waeup/ikoba/browser/templates
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.ikoba/trunk/src/waeup/ikoba/browser/templates/customersitelayout.pt

    r12192 r12706  
    3838      <li tal:condition="not: layout/isAuthenticated">
    3939      <a href="#" i18n:translate=""
    40          tal:attributes="href python: view.url(layout.site, 'login')">
     40         tal:attributes="href python: view.url(layout.site, '@@login')">
    4141          Login
     42      </a>
     43      </li>
     44      <li tal:condition="not: layout/isAuthenticated">
     45      <a href="#" i18n:translate=""
     46          tal:attributes="href python: view.url(layout.site, '@@createaccount')">
     47          Register
    4248      </a>
    4349      </li>
  • main/waeup.ikoba/trunk/src/waeup/ikoba/browser/templates/staffsitelayout.pt

    r12192 r12706  
    3737    <!-- Diazo element-->
    3838    <ul class="nav secondary-nav ikoba-navbar-right">
    39       <li tal:condition="not: layout/isAuthenticated">
    40       <a href="#" i18n:translate=""
    41           tal:attributes="href python: view.url(layout.site, 'login')">
    42           Login
    43       </a>
    44       </li>
    45       <li tal:condition="layout/isAuthenticated">
     39      <li>
    4640      <a href="#" i18n:translate=""
    4741         tal:attributes="href python: view.url(layout.site, '@@contactadmin')">
     
    4943      </a>
    5044      </li>
    51       <li tal:condition="layout/isAuthenticated">
     45      <li>
    5246      <a href="#" i18n:translate=""
    5347         tal:attributes="href python: view.url(context, '@@logout')">
Note: See TracChangeset for help on using the changeset viewer.