Ignore:
Timestamp:
9 Aug 2010, 09:14:38 (14 years ago)
Author:
Henrik Bettermann
Message:

Display login links on every page if logged out. Change the test accordingly.

Location:
main/waeup.sirp/trunk/src/waeup/sirp
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/authentication.txt

    r4921 r5404  
    5252  200 Ok
    5353
    54 There is a login form on the front page sidebar:
     54We have to go to one of the login pages first:
     55
     56  >>> browser.open('http://localhost/app/@@loginstaff')
     57  >>> print browser.headers['Status']
     58  200 Ok
     59
     60There is a login form on tis page:
    5561
    5662  >>> 'form.login' in browser.contents
     
    8389
    8490  >>> logout.click()
     91  >>> print browser.contents
     92  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"...
     93  ...Staff Login
     94  ...
    8595
    86 Now we are logged out again:
    87 
    88   >>> 'form.login' in browser.contents
    89   True
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/viewlets.py

    r5396 r5404  
    217217    """
    218218    grok.viewletmanager(LeftSidebar)
    219     grok.context(IUniversity)
    220     grok.view(UniversityPage)
     219    grok.context(IWAeUPObject)
     220    grok.view(Interface)
    221221    grok.order(2)
    222222
Note: See TracChangeset for help on using the changeset viewer.