From 85e12f4b859af8c47b2e113af993b7591738130b Mon Sep 17 00:00:00 2001 From: Kaalleen <36401965+kaalleen@users.noreply.github.com> Date: Tue, 1 Jan 2019 19:47:28 +0100 Subject: [PATCH] Fix print metadata (#372) --- lib/extensions/print_pdf.py | 1 - print/templates/operator_detailedview.html | 4 ++-- print/templates/operator_overview.html | 2 +- print/templates/print_detail.html | 2 +- print/templates/print_overview.html | 2 +- print/templates/ui.html | 4 ++-- 6 files changed, 7 insertions(+), 8 deletions(-) diff --git a/lib/extensions/print_pdf.py b/lib/extensions/print_pdf.py index d2e2365d7..c718fa092 100644 --- a/lib/extensions/print_pdf.py +++ b/lib/extensions/print_pdf.py @@ -365,7 +365,6 @@ class Print(InkstitchExtension): 'num_trims': stitch_plan.num_trims, 'dimensions': stitch_plan.dimensions_mm, 'num_stitches': stitch_plan.num_stitches, - 'estimated_time': '', # TODO 'estimated_thread': '', # TODO }, svg_overview=overview_svg, diff --git a/print/templates/operator_detailedview.html b/print/templates/operator_detailedview.html index 608b36619..c74a7a728 100644 --- a/print/templates/operator_detailedview.html +++ b/print/templates/operator_detailedview.html @@ -18,7 +18,7 @@ ##
- {{ svg_overview|safe }} + {{ svg_overview|replace("
{{ _('Unique Colors') }}: {{ job.num_colors }} @@ -51,7 +51,7 @@
- {{ color_block.svg_preview|safe }} + {{ color_block.svg_preview|replace("
{{ color_block.color.name }}
diff --git a/print/templates/operator_overview.html b/print/templates/operator_overview.html
index 359d4f501..8f70b4f01 100644
--- a/print/templates/operator_overview.html
+++ b/print/templates/operator_overview.html
@@ -26,7 +26,7 @@