Skip to content

Commit

Permalink
Fix extra space in rendering system card (#205)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristopherSpelt authored Sep 20, 2024
2 parents 91e011a + 7fde965 commit e5d20c2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion amt/site/templates/macros/cards.html.j2
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
{% if value.__class__.__name__ == 'dict'%}
<div class="{% if depth == 1 %}margin-bottom-large{% endif%}">
{% for subkey, subvalue in value.items() %}
<strong> {{render_attribute(subkey)}} </strong>: {{render_value(subkey, subvalue, depth+1)}}
{% if subvalue %}
<strong>{{render_attribute(subkey)}}</strong>: {{render_value(subkey, subvalue, depth+1)}}
{% endif %}
{% if not loop.last %}<br \>{% endif %}
{% endfor %}
</div>
Expand Down
2 changes: 1 addition & 1 deletion example_system_card/system_card.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "0.1a8"
version: "0.1a9"
provenance:
git_commit_hash: 3eb1f1b
timestamp: 2024-04-16T16:48:14Z
Expand Down

0 comments on commit e5d20c2

Please sign in to comment.