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