Ignore:
Timestamp:
24 Jan 2017, 09:33:08 (8 years ago)
Author:
Henrik Bettermann
Message:

Show header logo again.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.aaue/trunk/src/waeup/aaue/browser/pdf.py

    r14445 r14454  
    2929    """
    3030
    31     #header_logo_path = os.path.join(
    32     #    os.path.dirname(__file__), 'static', 'pdf_logo.jpg')
     31    header_logo_path = os.path.join(
     32        os.path.dirname(__file__), 'static', 'pdf_logo.jpg')
    3333    #watermark_path = os.path.join(
    3434    #    os.path.dirname(__file__), 'static', 'pdf_watermark.jpg')
    3535
    3636    #watermark_pos = [70, 150]
    37     #logo_pos = [500, 708, 60]
     37    logo_pos = [500, 708, 60]
    3838
    3939class CustomLandscapePDFCreator(LandscapePDFCreator):
     
    4242    """
    4343
    44     #header_logo_path = os.path.join(
    45     #    os.path.dirname(__file__), 'static', 'pdf_logo.jpg')
     44    header_logo_path = os.path.join(
     45        os.path.dirname(__file__), 'static', 'pdf_logo.jpg')
    4646    #watermark_path = os.path.join(
    4747    #    os.path.dirname(__file__), 'static', 'pdf_watermark.jpg')
    4848
    4949    #watermark_pos = [200, 55]
    50     #logo_pos = [750, 465, 60]
     50    logo_pos = [750, 465, 60]
    5151
    5252class A3LandscapePDFCreator(LandscapePDFCreator):
     
    5757    grok.name('A3landscape')
    5858
    59     #header_logo_path = os.path.join(
    60     #    os.path.dirname(__file__), 'static', 'pdf_logo.jpg')
     59    header_logo_path = os.path.join(
     60        os.path.dirname(__file__), 'static', 'pdf_logo.jpg')
    6161    #watermark_path = os.path.join(
    6262    #    os.path.dirname(__file__), 'static', 'pdf_watermark.jpg')
    6363
    6464    #watermark_pos = [360, 150]
    65     #logo_pos = [1100, 700, 60]
     65    logo_pos = [1100, 710, 60]
    6666    pagesize = landscape(A3)
Note: See TracChangeset for help on using the changeset viewer.