Skip to content

Commit d4be653

Browse files
committed
templates: Apply macros to overview status
1 parent 66fdfba commit d4be653

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

kcidb/templates/checkout_description.txt.j2

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,10 @@ OVERVIEW
1313

1414
Checkout: {{ misc_macros.valid_badge(checkout.valid) }}
1515
{% if checkout.builds %}
16-
Builds: {{ misc_macros.valid_badge(checkout.builds_valid) }}
16+
Builds: {{ misc_macros.build_overview(checkout) }}
1717
{% endif %}
1818
{% if checkout.tests %}
19-
Tests: {{ test_macros.waived_status_badge(checkout.tests_root.waived,
20-
checkout.tests_root.status) }}
19+
Tests: {{ misc_macros.test_overview(checkout) }}
2120
{% endif %}
2221

2322
CHECKOUT

kcidb/templates/revision_description.txt.j2

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,10 @@ OVERVIEW
1515
Patches: {{ misc_macros.valid_badge(revision.checkouts_valid) }}
1616
{% endif %}
1717
{% if revision.builds %}
18-
Builds: {{ misc_macros.valid_badge(revision.builds_valid) }}
18+
Builds: {{ misc_macros.build_overview(revision) }}
1919
{% endif %}
2020
{% if revision.tests %}
21-
Tests: {{ test_macros.waived_status_badge(revision.tests_root.waived,
22-
revision.tests_root.status) }}
21+
Tests: {{ misc_macros.test_overview(revision) }}
2322
{% endif %}
2423

2524
REVISION

0 commit comments

Comments
 (0)