Fixed #1195: Correct path to circle.png on ballot paper (assignment and motion).
This commit is contained in:
parent
5ddadbab6a
commit
d15488478d
@ -506,7 +506,7 @@ class AssignmentPollPDF(PDFView):
|
|||||||
pdf_document.build(story)
|
pdf_document.build(story)
|
||||||
|
|
||||||
def append_to_pdf(self, story):
|
def append_to_pdf(self, story):
|
||||||
imgpath = os.path.join(settings.SITE_ROOT, 'static/img/circle.png')
|
imgpath = os.path.join(settings.SITE_ROOT, 'core', 'static', 'img', 'circle.png')
|
||||||
circle = "<img src='%s' width='15' height='15'/> " % imgpath
|
circle = "<img src='%s' width='15' height='15'/> " % imgpath
|
||||||
cell = []
|
cell = []
|
||||||
cell.append(Spacer(0, 0.8 * cm))
|
cell.append(Spacer(0, 0.8 * cm))
|
||||||
|
@ -258,7 +258,7 @@ def all_motion_cover(pdf, motions):
|
|||||||
|
|
||||||
|
|
||||||
def motion_poll_to_pdf(pdf, poll):
|
def motion_poll_to_pdf(pdf, poll):
|
||||||
imgpath = os.path.join(settings.SITE_ROOT, 'static/img/circle.png')
|
imgpath = os.path.join(settings.SITE_ROOT, 'core', 'static', 'img', 'circle.png')
|
||||||
circle = "<img src='%s' width='15' height='15'/> " % imgpath
|
circle = "<img src='%s' width='15' height='15'/> " % imgpath
|
||||||
cell = []
|
cell = []
|
||||||
cell.append(Spacer(0, 0.8 * cm))
|
cell.append(Spacer(0, 0.8 * cm))
|
||||||
|
Loading…
Reference in New Issue
Block a user