Explicitly label comment sections in default template

This commit is contained in:
D. Berge
2022-05-06 17:15:09 +02:00
parent 721cfb36d1
commit 7e8f00d9f2

View File

@@ -4,21 +4,21 @@
<head> <head>
<title>{{DglProjectId}} Line Log Report {%if Sequences.length > 1 %}Multiple sequences{% else %}Sequence {{Sequences[0].SequenceNumber}}{% endif %}</title> <title>{{DglProjectId}} Line Log Report {%if Sequences.length > 1 %}Multiple sequences{% else %}Sequence {{Sequences[0].SequenceNumber}}{% endif %}</title>
<style> <style>
@media print { @media print {
body, html, table { body, html, table {
font-size: 10px !important; font-size: 10px !important;
} }
a { a {
text-decoration: none; text-decoration: none;
} }
tr.aside { tr.aside {
font-size: 8px !important; font-size: 8px !important;
} }
} }
html { html {
font-size: 16px; font-size: 16px;
text-rendering: optimizeLegibility; text-rendering: optimizeLegibility;
@@ -180,7 +180,7 @@ footer {
font-size: smaller; font-size: smaller;
border-top: thin solid; border-top: thin solid;
min-height: 25px; min-height: 25px;
position: fixed; position: fixed;
bottom: 0; bottom: 0;
background: white; background: white;
@@ -246,13 +246,24 @@ footer {
{% if Begin.Reshoot %}Reshoot{% endif -%} {% if Begin.Reshoot %}Reshoot{% endif -%}
<div class="comments"> <div class="comments">
{% if Sequence.DglSequenceComments %}
{% if Sequence.DglSequenceComments[0] %}
<h3>Acquisition Comments</h3>
<div class="comment">
{{ Sequence.DglSequenceComments[0] | markdown }}
</div>
{% endif %}
{% if Sequence.DglSequenceComments[1] %}
<h3>Processing Comments</h3>
<div class="comment">
{{ Sequence.DglSequenceComments[1] | markdown }}
</div>
{% endif %}
{% else %}
<h3>Sequence comments</h3> <h3>Sequence comments</h3>
<div class="nocomment">(Nil)</div>
{% for Comment in Sequence.DglSequenceComments %} {% endif %}
<div class="comment">{{ Comment | markdown }}</div>
{% endfor %}
{% if not Sequence.DglSequenceComments %}<div class="nocomment">(Nil)</div>{% endif %}
</div> </div>
<div class="events"> <div class="events">