Changeset 371 for WAeUP_SRP/trunk/skins


Ignore:
Timestamp:
15 Aug 2006, 09:25:33 (18 years ago)
Author:
joachim
Message:
  1. faculty_edit_ removed from types/Faculty.xml
  2. Faculty of als Standard Institution Type (Academics.py)
  3. layouts/certificate_courses.xml code readonly in edit
  4. Certificate code und Certificate original code sollten nicht angezeigt

werden (in layouts/certificate_course.xml)

  1. 'Change object id' for portal_type Semester disabled (academics_contents.pt)
  2. Department Schema added

M profiles/default/schemas/certificate.xml
M profiles/default/schemas/department.xml
M profiles/default/layouts/certificate_course.xml
M profiles/default/types/Faculty.xml
M skins/waeup_default/id_rename.py
M skins/waeup_academics/academics_contents_display_buttons.py
M skins/waeup_academics/academics_contents.pt
M Academics.py

Location:
WAeUP_SRP/trunk/skins
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_academics/academics_contents.pt

    r370 r371  
    8686              tal:attributes="onclick python:'return window.confirm(\'%s\')' %
    8787              (cpsmcat('description_confirm_delete'), )" />
    88             <input type="submit" name="id_rename_form:method"
    89               class="context" value="button_rename" i18n:attributes="value" />
     88            <input tal:condition="python: context.portal_type not in ('Semester',)"
     89                   type="submit" name="id_rename_form:method"
     90              class="context" value="Change Object ID" i18n:attributes="value" />
    9091          </span>
    9192          </span>
  • WAeUP_SRP/trunk/skins/waeup_academics/academics_contents_display_buttons.py

    r370 r371  
    1414
    1515#if context.portal_type in ('Department','Certificate','StudyLevel'):
    16 if context.portal_type in ('Department','StudyLevel'):
     16if context.portal_type in ('Department','StudyLevel',):
    1717    return None
    1818return 1
  • WAeUP_SRP/trunk/skins/waeup_default/id_rename.py

    r370 r371  
    99REQUEST = context.REQUEST
    1010
     11if context.portal_type in ('CoursesFolder',):
     12    return REQUEST.RESPONSE.redirect(context.absolute_url() + \
     13                                ('/academics_contents?portal_status_message=%s' \
     14                                % ('Courses cannot be renamed',)))
     15   
    1116new_ids = REQUEST['new_ids']
    1217new_ids = [id.upper() for id in REQUEST['new_ids']]
Note: See TracChangeset for help on using the changeset viewer.