Skip to content

Commit

Permalink
Merge pull request #1440 from bernt-matthias/topic/missing-closing-de…
Browse files Browse the repository at this point in the history
…tails

Fix markdown template: add missing closing details tag
  • Loading branch information
mvdbeek authored Mar 28, 2024
2 parents f95f40c + aab2a73 commit 995f5c1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion planemo/reports/macros.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

{% endif %}
{% endfor %}
</details>
{% endmacro %}


Expand Down Expand Up @@ -64,7 +65,8 @@
* {{value}}
{% endif %}
{% endfor %}
</details>

</details>
{% endmacro %}


Expand Down
6 changes: 3 additions & 3 deletions planemo/reports/report_markdown.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@
{% if test.data.status == status %}
{% if test.data.status == 'success' %}

* <details class="rcorners light-green"><summary class="light-green">&#9989; {{ test.id }}</summary><div class="padded">
* <details class="rcorners light-green"><summary class="light-green">&#9989; {{ test.id|replace("#","# ") }}</summary><div class="padded">

{% else %}

* <details class="rcorners light-red"><summary class="light-red">&#10060; {{ test.id }}</summary><div class="padded">
* <details class="rcorners light-red"><summary class="light-red">&#10060; {{ test.id|replace("#","# ") }}</summary><div class="padded">

{% endif %}
{% if test.data.output_problems %}
Expand Down Expand Up @@ -84,7 +84,7 @@

{% endif %}

</div></details>
</div></details>

{% endif %}
{% endfor %}
Expand Down

0 comments on commit 995f5c1

Please sign in to comment.