Changeset 9948 for main


Ignore:
Timestamp:
14 Feb 2013, 16:15:46 (12 years ago)
Author:
uli
Message:

Rollback r9946 as discussed earlier today.

Location:
main/waeup.kofa/trunk/src/waeup/kofa
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/pdf.py

    r9946 r9948  
    133133        # append comments
    134134        data = self._addComments(data)
    135         return creator.create_pdf(
    136             data, None, doc_title, note=self.note, context=self.context)
     135
     136        return creator.create_pdf(data, None, doc_title, note=self.note)
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/interfaces.py

    r9946 r9948  
    180180        """
    181181    def create_pdf(data, headerline=None, title=None, author=None,
    182                    footer='', note=None, sigs_in_footer=[], context=None):
     182                   footer='', note=None, sigs_in_footer=[]):
    183183        """Create a PDF.
    184184
     
    203203
    204204        If no `title` is given, nothing will be rendered.
    205 
    206         `context` could be the student or the applicant object. In customized
    207         packages this parameter can be used to create context-dependent
    208         pdf slips.
    209205        """
    210206
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/pdf.py

    r9946 r9948  
    397397
    398398    def create_pdf(self, data, headerline=None, title=None, author=None,
    399                    footer='', note=None, sigs_in_footer=[], topMargin=1.5,
    400                    context=None):
     399                   footer='', note=None, sigs_in_footer=[], topMargin=1.5):
    401400        """Returns a binary data stream which is a PDF document.
    402401        """
  • main/waeup.kofa/trunk/src/waeup/kofa/students/utils.py

    r9946 r9948  
    582582        pdf_stream = creator.create_pdf(
    583583            data, None, doc_title, author=author, footer=footer_text,
    584             note=None, context=student)
     584            note=None)
    585585        return pdf_stream
    586586
     
    666666            pdf_stream = creator.create_pdf(
    667667                data, None, doc_title, author=author, footer=footer_text,
    668                 note=note, sigs_in_footer=sigs_in_footer, topMargin=topMargin,
    669                 context=student)
     668                note=note, sigs_in_footer=sigs_in_footer, topMargin=topMargin)
    670669        except IOError:
    671670            view.flash('Error in image file.')
Note: See TracChangeset for help on using the changeset viewer.