Skip to content

Commit

Permalink
templates: Apply macros to overview status
Browse files Browse the repository at this point in the history
  • Loading branch information
mrbazzan committed Aug 22, 2022
1 parent 66fdfba commit d4be653
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions kcidb/templates/checkout_description.txt.j2
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,10 @@ OVERVIEW

Checkout: {{ misc_macros.valid_badge(checkout.valid) }}
{% if checkout.builds %}
Builds: {{ misc_macros.valid_badge(checkout.builds_valid) }}
Builds: {{ misc_macros.build_overview(checkout) }}
{% endif %}
{% if checkout.tests %}
Tests: {{ test_macros.waived_status_badge(checkout.tests_root.waived,
checkout.tests_root.status) }}
Tests: {{ misc_macros.test_overview(checkout) }}
{% endif %}

CHECKOUT
Expand Down
5 changes: 2 additions & 3 deletions kcidb/templates/revision_description.txt.j2
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,10 @@ OVERVIEW
Patches: {{ misc_macros.valid_badge(revision.checkouts_valid) }}
{% endif %}
{% if revision.builds %}
Builds: {{ misc_macros.valid_badge(revision.builds_valid) }}
Builds: {{ misc_macros.build_overview(revision) }}
{% endif %}
{% if revision.tests %}
Tests: {{ test_macros.waived_status_badge(revision.tests_root.waived,
revision.tests_root.status) }}
Tests: {{ misc_macros.test_overview(revision) }}
{% endif %}

REVISION
Expand Down

0 comments on commit d4be653

Please sign in to comment.