mirror of
https://github.com/Kunsi/pretalx-plugin-broadcast-tools
synced 2024-11-22 01:31:02 +00:00
minor style fixes
This commit is contained in:
parent
bfbce9e98b
commit
eb142b2483
1 changed files with 4 additions and 5 deletions
|
@ -77,8 +77,7 @@ class PDFInfoPage(Flowable):
|
||||||
self._add(Spacer(1, PAGE_PADDING / 2))
|
self._add(Spacer(1, PAGE_PADDING / 2))
|
||||||
|
|
||||||
def draw(self):
|
def draw(self):
|
||||||
# add Submission code, type, title and "do not record"
|
# add some information horizontally to the side of the page
|
||||||
# horizontally to the side of the page.
|
|
||||||
self.canv.saveState()
|
self.canv.saveState()
|
||||||
self.canv.rotate(90)
|
self.canv.rotate(90)
|
||||||
self.canv.setFont("Helvetica", 12)
|
self.canv.setFont("Helvetica", 12)
|
||||||
|
@ -93,7 +92,7 @@ class PDFInfoPage(Flowable):
|
||||||
self.talk.local_start.isoformat(),
|
self.talk.local_start.isoformat(),
|
||||||
f"Day {self.day['index']}",
|
f"Day {self.day['index']}",
|
||||||
str(self.room["name"]),
|
str(self.room["name"]),
|
||||||
self.schedule.version,
|
f"Schedule {self.schedule.version}",
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
@ -210,7 +209,7 @@ class PDFInfoPage(Flowable):
|
||||||
|
|
||||||
class PDFExporter(ScheduleData):
|
class PDFExporter(ScheduleData):
|
||||||
identifier = "broadcast_pdf"
|
identifier = "broadcast_pdf"
|
||||||
verbose_name = "Broadcast Tools PDF (with internal notes)"
|
verbose_name = "Broadcast Tools PDF"
|
||||||
public = False
|
public = False
|
||||||
show_qrcode = False
|
show_qrcode = False
|
||||||
icon = "fa-file-pdf"
|
icon = "fa-file-pdf"
|
||||||
|
|
Loading…
Reference in a new issue