Ignore:
Timestamp:
14 Aug 2006, 22:02:18 (18 years ago)
Author:
joachim
Message:

allow entering and changing of ID's,

M profiles/default/vocabularies/courselevel.xml
A profiles/default/schemas/student_study_course.xml
M profiles/default/schemas/faculty.xml
M profiles/default/workflows.xml
M profiles/default/layouts/certificate.xml
M profiles/default/layouts/waeup_common.xml
A profiles/default/layouts/student_study_course.xml
M profiles/default/layouts/study_level.xml
M profiles/default/layouts/course.xml
M profiles/default/layouts/department.xml
M profiles/default/layouts/faculty.xml
M profiles/default/types/Certificate.xml
M profiles/default/types/Semester.xml
A profiles/default/types/StudentStudyCourse.xml
M profiles/default/types/StudyLevel.xml
M profiles/default/types/Course.xml
M profiles/default/types/CertificatesFolder.xml
M profiles/default/types/CertificateCourse.xml
M profiles/default/types/AcademicsFolder.xml
M profiles/default/types/Faculty.xml
M profiles/default/types/CoursesFolder.xml
A skins/waeup_default/id_rename_form.pt
A skins/waeup_default/id_rename.py
A skins/waeup_default/waeup_document_create_do.py
M skins/waeup_academics/academics_contents_display_buttons.py
M skins/waeup_academics/academics_contents.pt
M Academics.py

File:
1 edited

Legend:

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

    r353 r370  
    4848    <span tal:define="redirect python: response.redirect(url)"></span>
    4949  </div>
    50     <span tal:omit-tag="" tal:condition="not: display_buttons"
     50    <span tal:omit-tag="" tal:condition="python:display_buttons or (context.portal_type in ('Certificate',))"
    5151          tal:content="structure doc/render" />
    5252
     
    6969        <td align="left" valign="top" rowspan="3"></td>
    7070        <td align="left" valign="top">
    71           <span tal:condition="display_buttons" >
     71          <span tal:condition="display_buttons">
    7272          <span tal:condition="can_del">
    7373            <input type="button" value="button_select_all" class="context"
     
    7676                   tal:attributes="onclick python:'toggleSelect(this, \'%s\', \'%s\')'
    7777                                   % (cpsmcat('button_select_all'), cpsmcat('button_deselect_all'))" />
    78             <input type="submit" name="approve_checked:method"
     78            <span tal:omit-tag="" tal:condition="python: context.portal_type != 'Certificate'">
     79              <input type="submit" name="approve_checked:method"
    7980              class="context" value="Approve" />
    8081            <input type="submit" name="retract_checked:method"
    8182              class="context" value="Retract" />
    82             <input type="submit" name="folder_delete:method" value="button_delete"
     83            </span>
     84              <input type="submit" name="folder_delete:method" value="button_delete"
    8385              class="destructive" i18n:attributes="value"
    8486              tal:attributes="onclick python:'return window.confirm(\'%s\')' %
    8587              (cpsmcat('description_confirm_delete'), )" />
     88            <input type="submit" name="id_rename_form:method"
     89              class="context" value="button_rename" i18n:attributes="value" />
    8690          </span>
    8791          </span>
Note: See TracChangeset for help on using the changeset viewer.