Changeset 12185


Ignore:
Timestamp:
9 Dec 2014, 16:24:02 (10 years ago)
Author:
Henrik Bettermann
Message:

Replace 'not displayable' in docs_as_flowables.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.ikoba/trunk/src/waeup/ikoba/customers/utils.py

    r12184 r12185  
    250250                if img_path is None:
    251251                    pass
     252                elif img_path[-4:] == '.pdf':
     253                    f_text = Paragraph('%s (see file attached)' % (
     254                        viewlet.title,), ENTRY1_STYLE)
    252255                elif not img_path[-4:] in ('.jpg', '.JPG'):
    253256                    # reportlab requires jpg images, I think.
    254                     f_text = Paragraph('%s (not displayable)' % (
     257                    f_text = Paragraph('%s (no preview available)' % (
    255258                        viewlet.title,), ENTRY1_STYLE)
    256259                else:
Note: See TracChangeset for help on using the changeset viewer.