Ignore:
Timestamp:
7 May 2015, 04:31:34 (10 years ago)
Author:
Henrik Bettermann
Message:

Add doclinks.

Add warning to Certificates section.

File:
1 edited

Legend:

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

    r12902 r12910  
    17251725    taboneactions = [_('Add faculty'), _('Remove selected'),_('Cancel')]
    17261726    subunits = _('Faculties')
     1727    doclink = DOCLINK + '/academics.html'
    17271728
    17281729    @property
     
    17591760    form_fields = grok.AutoFields(IFaculty)
    17601761    pnav = 1
     1762    doclink = DOCLINK + '/academics.html#faculties'
    17611763
    17621764    @action(_('Add faculty'), style='primary')
     
    18111813    tabthreeactions1 = [_('Remove selected local roles')]
    18121814    tabthreeactions2 = [_('Add local role')]
     1815    doclink = DOCLINK + '/academics.html#faculties'
    18131816
    18141817    form_fields = grok.AutoFields(IFaculty).omit('code')
     
    19071910    form_fields = grok.AutoFields(IDepartment)
    19081911    pnav = 1
     1912    doclink = DOCLINK + '/academics.html#departments'
    19091913
    19101914    @action(_('Add department'), style='primary')
     
    19761980    tabfouractions1 = [_('Remove selected local roles')]
    19771981    tabfouractions2 = [_('Add local role')]
     1982    doclink = DOCLINK + '/academics.html#departments'
    19781983
    19791984    form_fields = grok.AutoFields(IDepartment).omit('code')
     
    20492054    form_fields = grok.AutoFields(ICourse)
    20502055    pnav = 1
     2056    doclink = DOCLINK + '/academics.html#courses'
    20512057
    20522058    @action(_('Add course'))
     
    20902096    form_fields = grok.AutoFields(ICertificate)
    20912097    pnav = 1
     2098    doclink = DOCLINK + '/academics.html#certificates'
    20922099
    20932100    @action(_('Add certificate'))
     
    21512158    tabtwoactions1 = [_('Remove selected local roles')]
    21522159    tabtwoactions2 = [_('Add local role')]
     2160    doclink = DOCLINK + '/academics.html#courses'
    21532161
    21542162    form_fields = grok.AutoFields(ICourse).omit('code')
     
    22002208    pnav = 1
    22012209    label = _('Edit certificate')
     2210    doclink = DOCLINK + '/academics.html#certificates'
    22022211
    22032212    form_fields = grok.AutoFields(ICertificate).omit('code')
     
    22522261    pnav = 1
    22532262    label = _('Add certificate course')
     2263    doclink = DOCLINK + '/academics.html#certificate-courses'
    22542264
    22552265    @action(_('Add certificate course'))
     
    23052315    label = _('Edit certificate course')
    23062316    pnav = 1
     2317    doclink = DOCLINK + '/academics.html#certificate-courses'
    23072318
    23082319    @action(_('Save and return'), style='primary')
Note: See TracChangeset for help on using the changeset viewer.