From b5968dc11ff479f2c7cd5217c47a872fe04295e4 Mon Sep 17 00:00:00 2001 From: Lex Neva Date: Tue, 17 Apr 2018 15:55:52 -0400 Subject: fix formatting of dimensions --- print/templates/operator_detailedview.html | 2 +- print/templates/operator_overview.html | 2 +- print/templates/print_overview.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'print/templates') diff --git a/print/templates/operator_detailedview.html b/print/templates/operator_detailedview.html index 633b9286..92c3445f 100644 --- a/print/templates/operator_detailedview.html +++ b/print/templates/operator_detailedview.html @@ -25,7 +25,7 @@ {{ _('Color Blocks') }}: {{ job.num_color_blocks }}

- {{ _('Design box size') }}: {{ job.dimensions }} + {{ _('Design box size') }}: {{ "%0.1fmm X %0.1fmm" | format(*job.dimensions) }} {{ _('Total thread used') }}: {{job.estimated_thread }} {{ _('Total stitch count') }}: {{job.num_stitches }}

diff --git a/print/templates/operator_overview.html b/print/templates/operator_overview.html index 8615c42a..59b2e028 100644 --- a/print/templates/operator_overview.html +++ b/print/templates/operator_overview.html @@ -11,7 +11,7 @@
-

{{ _('Design box size') }}:{{ job.dimensions }}

+

{{ _('Design box size') }}:{{ "%0.1fmm X %0.1fmm" | format(*job.dimensions) }}

{{ _('Total stitch count') }}:{{job.num_stitches }}

{{ _('Total thread used') }}:{{job.estimated_thread }}

diff --git a/print/templates/print_overview.html b/print/templates/print_overview.html index f876ad70..62d2982c 100644 --- a/print/templates/print_overview.html +++ b/print/templates/print_overview.html @@ -11,7 +11,7 @@
-

{{ _('Design box size') }}:{{ job.dimensions }}

+

{{ _('Design box size') }}:{{ "%0.1fmm X %0.1fmm" | format(*job.dimensions) }}

{{ _('Total stitch count') }}:{{job.num_stitches }}

{{ _('Total thread used') }}:{{job.estimated_thread }}

-- cgit v1.2.3