Changeset 1519 for WAeUP_SRP/trunk/skins


Ignore:
Timestamp:
6 Mar 2007, 07:09:55 (18 years ago)
Author:
Henrik Bettermann
Message:

beautifying

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

Legend:

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

    r1482 r1519  
    1 ## Script (Python) "folder_delete"
     1## Script (Python) "add_course_result"
    22##bind container=container
    33##bind context=context
     
    1010# $Id$
    1111"""
    12 add a course_result object.
     12add a StudentCourseResult object
    1313"""
    1414from urllib import urlencode
     
    2323while True:
    2424    if d['title'] == 'unknown':
    25         err = "no such course"
     25        err = "No such course"
    2626        break
    2727    if context.hasObject(course_id):
    28         err = "course already exists"
     28        err = "Course already exists"
    2929        break
    3030    if context.hasObject("%s_co" % course_id):
    31         err = "course already exists as carryover"
     31        err = "Course already exists as carryover course"
    3232        break
    3333    break
     
    3838    url = "%s?%s" % (context.absolute_url(),urlencode(args))
    3939    return request.RESPONSE.redirect(url)
    40 ##cert_id = context.aq_parent.getContent().study_course   
     40##cert_id = context.aq_parent.getContent().study_course
    4141##res = context.portal_catalog(portal_type="Certificate", id = cert_id)
    4242##l = []
  • WAeUP_SRP/trunk/skins/waeup_student/study_level_view.pt

    r1518 r1519  
    157157                       class="destructive" i18n:attributes="value"
    158158                       tal:attributes="onclick python:'return window.confirm(\'%s\')' %
    159                        ('really delete checked courses', )"
     159                       ('Do you really want to delete the courses selected?', )"
    160160                       />
    161161                <input tal:condition="python: review_state == 'school_fee_paid'"
Note: See TracChangeset for help on using the changeset viewer.