Skip to content

Commit

Permalink
Use spaceless filter instead of spaceless tag
Browse files Browse the repository at this point in the history
  • Loading branch information
adamwojs committed Aug 5, 2019
1 parent b9f0953 commit e8b408e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Resources/views/themes/admin/dashboard/block/ez.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
{% set levels = {0: "info", 1: "warning", 2: "danger"} %}
{% set icons = {0: "", 1: "⚠", 2: "⚠"} %}
{% set status %}
{% spaceless %}
{% apply spaceless %}
{% if not ez.release %}
{% set severity = 1 %}
<div class="alert alert-warning mb-0 mt-3" role="alert">
Expand Down Expand Up @@ -117,7 +117,7 @@
{% endif %}
</div>
{% endif %}
{% endspaceless %}
{% endapply %}
{% endset %}

<div class="mb-4">
Expand Down

0 comments on commit e8b408e

Please sign in to comment.