summaryrefslogtreecommitdiff
path: root/print/templates/operator_detailedview.html
diff options
context:
space:
mode:
authorLex Neva <lexelby@users.noreply.github.com>2018-04-29 21:29:53 -0400
committerGitHub <noreply@github.com>2018-04-29 21:29:53 -0400
commitdc4d0ce4e92454e16f40f0a84d00a8958b75740d (patch)
treef6f2309d1800e795c7aee9fa541f6321e03619ed /print/templates/operator_detailedview.html
parentdc5c8c6314b11e1e194939dca3ab72f039a098d3 (diff)
parent7a80e59d7751b6c228f00be4853b1443a6233840 (diff)
Merge pull request #155 from lexelby/lexelby-thread-names
set thread names in PDF printout
Diffstat (limited to 'print/templates/operator_detailedview.html')
-rw-r--r--print/templates/operator_detailedview.html13
1 files changed, 6 insertions, 7 deletions
diff --git a/print/templates/operator_detailedview.html b/print/templates/operator_detailedview.html
index f78028d7..0b948cb0 100644
--- a/print/templates/operator_detailedview.html
+++ b/print/templates/operator_detailedview.html
@@ -1,7 +1,7 @@
<header>
{% include 'headline.html' %}
</header>
-
+
<main>
<div class="operator-job-info">
<div class="job-headline">
@@ -39,7 +39,7 @@
</div>
{% endif %}
{% for color_block in color_block_part %}
-
+
<div style="display: table-row;">
<p class="operator-svg operator-colorswatch">
<svg xmlns="http://www.w3.org/2000/svg">
@@ -53,11 +53,12 @@
{{ color_block.svg_preview|safe }}
</p>
<p>
- <span data-field-name="color-{{ color_block.color.hex_digits }}" contenteditable="true" data-placeholder="Enter thread name...">{{ color_block.color.thread_name }}</span>
+ <span data-field-name="color-{{ color_block.color.hex_digits }}" contenteditable="true" data-placeholder="Enter thread name...">{{ color_block.color.name }}</span>
<span>{{ color_block.color.rgb }}</span>
+ <span data-field-name="thread-{{ color_block.color.hex_digits }}" contenteditable="true">{{ color_block.color.manufacturer }} {{ "#" + color_block.color.number if color_block.color.number }}</span>
</p>
<p>
- <span>{{ _('thread used') }}: {{ color_block.color.thread_description }}</span>
+ <span>{{ _('thread used') }}:</span>
<span>{{ _('# stitches') }}: {{ color_block.num_stitches }}</span>
</p>
<p>
@@ -71,7 +72,5 @@
{% endfor %}
</div>
</main>
-
+
{% include 'footer.html' %}
-
-