Skip to content

Commit 50301d9

Browse files
authored
Merge pull request #139 from quantum-label/138-update-pdf-reports-to-the-current-label-pages
Updated PDF reports to label pages info
2 parents fc8c326 + 43a3db5 commit 50301d9

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

code/label/pdf/dq_assessment/templates/page_3_template.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
</head>
1111
<body>
1212
<h2>
13-
Data Quality and Utility assessment comments
13+
Data Quality and Utility assessment issues
1414
</h2>
1515
<hr>
1616

@@ -27,9 +27,9 @@ <h2>
2727
<br>
2828
{% for metric in dimension.metrics %}
2929
{% if not metric.is_metric_ok %}
30-
<small>{{ metric.metric_label }}: {{ metric.definition }}</small>
31-
{% else %}
3230
<small class="bg-warning text-dark">{{ metric.metric_label }}: {{ metric.definition }}</small>
31+
{% else %}
32+
<small>{{ metric.metric_label }}: {{ metric.definition }}</small>
3333
{% endif %}
3434
<br>
3535
{% endfor %}

code/label/pdf/maturity/templates/page_3_template.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ <h2>
2020

2121
<small class="mt-3">
2222
{% for dimension_name, dimension in maturity_assessment.items() %}
23-
<small><b>{{ dimension_name }}</b></small>
23+
<small><b>{{ loop.index }}. {{ dimension_name }}</b></small>
2424
<br>
2525
{% if dimension.value %}
2626
<small>{{ dimension.value_text }} ({{ dimension.value }} / 5)</small>

code/label/pdf/maturity/templates/page_4_template.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ <h2>Maturity assessment scores</h2>
6363
<tbody>
6464
{% for dimension_name, dimension in maturity_assessment.items() %}
6565
<tr>
66-
<td>{{ dimension_name }}</td>
66+
<td>{{ loop.index }}. {{ dimension_name }}</td>
6767
{% if dimension.value %}
6868
<td>{{ dimension.value }}</td>
6969
{% else %}

0 commit comments

Comments
 (0)