Changeset 13177 for main


Ignore:
Timestamp:
18 Jul 2015, 06:07:14 (9 years ago)
Author:
Henrik Bettermann
Message:

Add doclinks.

Location:
main/waeup.kofa/trunk/src/waeup/kofa
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/browser.py

    r13153 r13177  
    5252    add_local_role, del_local_roles, doll_up, ExportCSVView)
    5353from waeup.kofa.interfaces import (
    54     IKofaObject, ILocalRolesAssignable, IExtFileStore, IPDF,
     54    IKofaObject, ILocalRolesAssignable, IExtFileStore, IPDF, DOCLINK,
    5555    IFileStoreNameChooser, IPasswordValidator, IUserAccount, IKofaUtils)
    5656from waeup.kofa.interfaces import MessageFactory as _
     
    135135    tabthreeactions2 = [_('Add local role')]
    136136    subunits = _('Applicants Containers')
     137    doclink = DOCLINK + '/applicants.html'
    137138
    138139    def getLocalRoles(self):
     
    341342    # Use friendlier date widget...
    342343    grok.require('waeup.manageApplication')
     344    doclink = DOCLINK + '/applicants.html'
    343345
    344346    @property
     
    457459    label = _('Add applicant')
    458460    pnav = 3
     461    doclink = DOCLINK + '/applicants.html'
    459462
    460463    @action(_('Create application record'))
  • main/waeup.kofa/trunk/src/waeup/kofa/hostels/browser.py

    r13170 r13177  
    3131    ManageActionButton, PrimaryNavTab)
    3232from waeup.kofa.browser.layout import jsaction, action
    33 from waeup.kofa.interfaces import IKofaObject, IKofaUtils
     33from waeup.kofa.interfaces import IKofaObject, IKofaUtils, DOCLINK
    3434from waeup.kofa.interfaces import MessageFactory as _
    3535from waeup.kofa.hostels.vocabularies import NOT_OCCUPIED
     
    128128        _('Clear all hostels'),
    129129        _('Remove selected')]
     130    doclink = DOCLINK + '/hostels.html#accommodation-section'
    130131
    131132    # It's quite dangerous to remove entire hostels with its content (beds).
     
    175176    label = _('Add hostel')
    176177    pnav = 5
     178    doclink = DOCLINK + '/hostels.html#accommodation-section'
    177179
    178180    @action(_('Create hostel'))
     
    230232        _('Clear hostel')]
    231233    not_occupied = NOT_OCCUPIED
     234    doclink = DOCLINK + '/hostels.html#browser-pages'
    232235
    233236    @property
     
    329332    label = _('Allocate student')
    330333    pnav = 5
     334    doclink = DOCLINK + '/hostels.html#manage-bed'
    331335
    332336    @action(_('Save'))
  • main/waeup.kofa/trunk/src/waeup/kofa/hostels/browser_templates/hostelmanagepage.pt

    r11254 r13177  
    8686        </span>
    8787      </div>
     88      <br />
    8889
    8990    </div>
  • main/waeup.kofa/trunk/src/waeup/kofa/students/browser.py

    r13168 r13177  
    291291    search_button = _('Find student(s)')
    292292    remove_button = _('Remove selected')
     293    doclink = DOCLINK + '/students.html'
    293294
    294295    def update(self, *args, **kw):
Note: See TracChangeset for help on using the changeset viewer.