Changeset 1493 for WAeUP_SRP


Ignore:
Timestamp:
25 Feb 2007, 21:41:24 (18 years ago)
Author:
Henrik Bettermann
Message:

create level off

Location:
WAeUP_SRP/trunk/skins/waeup_student
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_student/getStudyCourseInfo.py

    r1492 r1493  
    4949    wftool.doActionFor(context,'close_for_edit')
    5050student_review_state = context.getStudentReviewState()
    51 may_register = 1 or student_review_state in ('shool_fee_payed',)
     51may_register = 0 #1 or student_review_state in ('shool_fee_payed',)
    5252levels.sort()
    5353info['create_level'] = None
  • WAeUP_SRP/trunk/skins/waeup_student/study_course_view.pt

    r1492 r1493  
    2929        </tr>
    3030        <tr>
    31           <td>Certificate ID:</td>
     31          <td>Certificate Id:</td>
    3232          <td tal:content="sc/study_course" />
    3333        </tr>
     
    107107              <input type="submit" name="create_level" tal:condition="create_level"
    108108                       class="destructive"
    109                        tal:attributes="onclick python:'return window.confirm(\'really create Level %s\')' % create_level;
    110                        value string: create Level ${create_level}"
     109                       tal:attributes="onclick python:'return window.confirm(\'Do you really want to register for Level %s\?')' % create_level;
     110                       value string: Register for Level ${create_level}"
    111111                       />
    112112            </td>
Note: See TracChangeset for help on using the changeset viewer.