File tree 2 files changed +17
-1
lines changed
src/recensio/plone/content
2 files changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,9 @@ Changelog
5
5
1.0.1 (unreleased)
6
6
------------------
7
7
8
- - Nothing changed yet.
8
+ - Support changing PDF watermark image on publication.
9
+ `#2385 <https://github.com/syslabcom/scrum/issues/2385 >`_
10
+ [reinhardt]
9
11
10
12
11
13
1.0.0 (2024-06-12)
Original file line number Diff line number Diff line change 1
1
from plone .dexterity .content import Container
2
+ from plone .namedfile .field import NamedBlobImage
2
3
from plone .supermodel import model
4
+ from recensio .plone import _
3
5
from zope .interface import implementer
4
6
5
7
6
8
class IPublication (model .Schema ):
7
9
"""Marker interface and Dexterity Python Schema for Publication."""
8
10
11
+ pdf_watermark = NamedBlobImage (
12
+ title = _ ("label_publication_pdf_watermark" , default = "PDF watermark" ),
13
+ description = _ (
14
+ "description_publication_pdf_watermark" ,
15
+ default = (
16
+ "Upload a publication logo for the PDF coversheet. Transparent PNG "
17
+ "format images are recommended."
18
+ ),
19
+ ),
20
+ required = False ,
21
+ )
22
+
9
23
10
24
@implementer (IPublication )
11
25
class Publication (Container ):
You can’t perform that action at this time.
0 commit comments