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/hostels
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • 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>
Note: See TracChangeset for help on using the changeset viewer.