Changeset 7461 for main/waeup.sirp/trunk


Ignore:
Timestamp:
12 Jan 2012, 17:54:28 (13 years ago)
Author:
Henrik Bettermann
Message:

Link acronym with the home page. Then we don't need the home tab.

Location:
main/waeup.sirp/trunk/src/waeup/sirp/browser
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/pages.py

    r7459 r7461  
    186186            auth = getUtility(IAuthentication)
    187187            ILogout(auth).logout(self.request)
    188             self.flash("You have been logged out. Thanks for using SIRP SIRP!")
     188            self.flash("You have been logged out. Thanks for using WAeUP SIRP!")
    189189        self.redirect(self.application_url())
    190190
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/staffsitelayout.pt

    r7459 r7461  
    1818      <div class="topbar-inner">
    1919        <div class="container-fluid">
    20           <a class="brand" href="#" tal:content="layout/getAppAcronym">Acronym</a>
     20          <a class="brand" href="#"
     21              tal:attributes="href python: view.url(layout.site)"
     22              tal:content="layout/getAppAcronym">Acronym</a>
    2123          <ul class="nav">
    2224            <tal:primary_nav content="structure provider:primary_nav" />
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/studentsitelayout.pt

    r7459 r7461  
    2222      <div class="topbar-inner">
    2323        <div  class="container">
    24           <a class="brand" href="#" tal:content="layout/getAppAcronym">Acronym</a>
     24          <a class="brand" href="#"
     25              tal:attributes="href python: view.url(layout.site)"
     26              tal:content="layout/getAppAcronym">Acronym</a>
    2527          <ul class="nav">
    2628              <tal:primary_nav content="structure provider:primary_nav" />
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/viewlets.py

    r7459 r7461  
    607607        return ''
    608608
    609 class HomeTab(PrimaryNavTab):
    610     """Home-tab in primary navigation.
    611     """
    612     grok.order(1)
    613     grok.require('waeup.Public')
    614 
    615     pnav = 0
    616     tab_title = u'Home'
     609#class HomeTab(PrimaryNavTab):
     610#    """Home-tab in primary navigation.
     611#    """
     612#    grok.order(1)
     613#    grok.require('waeup.Public')
     614
     615#    pnav = 0
     616#    tab_title = u'Home'
    617617
    618618class FacultiesTab(PrimaryNavTab):
Note: See TracChangeset for help on using the changeset viewer.