Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

Commit

Permalink
Allow infobox widget to render without a progress description block (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
brockhaus committed Nov 19, 2021
1 parent 8b06c35 commit 427b545
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Resources/views/Widgets/infobox-widget.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<div class="progress-bar" style="width: {{ progress }}%"></div>
</div>
{% endif %}
{% if progress|default(block('progress_description'))|length > 0 %}
{% if block('progress_description') is defined %}
<span class="progress-description">
{{ block('progress_description') }}
</span>
Expand Down

0 comments on commit 427b545

Please sign in to comment.