Fix syntax and style errors and errors after deficient merge conflic
resolving after branch merging.
This commit is contained in:
parent
e6dad6d087
commit
78077e4ab1
@ -19,7 +19,7 @@ class PDFPresentationWidget(Widget):
|
|||||||
default_weight = 75
|
default_weight = 75
|
||||||
template_name = 'mediafile/widget_pdfpresentation.html'
|
template_name = 'mediafile/widget_pdfpresentation.html'
|
||||||
more_link_pattern_name = 'mediafile_list'
|
more_link_pattern_name = 'mediafile_list'
|
||||||
#javascript_files = None # TODO: Add pdf.js stuff here.
|
# javascript_files = None # TODO: Add pdf.js stuff here.
|
||||||
|
|
||||||
def get_context_data(self, **context):
|
def get_context_data(self, **context):
|
||||||
pdfs = Mediafile.objects.filter(
|
pdfs = Mediafile.objects.filter(
|
||||||
|
@ -20,7 +20,6 @@ pdfmetrics.registerFont(TTFont(
|
|||||||
'Ubuntu', path_join(settings.SITE_ROOT, 'core/static/fonts/Ubuntu-R.ttf')))
|
'Ubuntu', path_join(settings.SITE_ROOT, 'core/static/fonts/Ubuntu-R.ttf')))
|
||||||
pdfmetrics.registerFont(TTFont(
|
pdfmetrics.registerFont(TTFont(
|
||||||
'Ubuntu-Bold', path_join(settings.SITE_ROOT, 'core/static/fonts/Ubuntu-B.ttf')))
|
'Ubuntu-Bold', path_join(settings.SITE_ROOT, 'core/static/fonts/Ubuntu-B.ttf')))
|
||||||
pdfmetrics.registerFont(TTFont(
|
|
||||||
pdfmetrics.registerFont(TTFont(
|
pdfmetrics.registerFont(TTFont(
|
||||||
'circlefont', path_join(settings.SITE_ROOT, 'core/static/fonts/circle.ttf')))
|
'circlefont', path_join(settings.SITE_ROOT, 'core/static/fonts/circle.ttf')))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user