Skip to content

Commit

Permalink
Do not use warning color if legacy routing is disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
aschempp committed Jul 9, 2020
1 parent edb1e52 commit 194f942
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion core-bundle/src/Resources/views/Collector/contao.html.twig
Expand Up @@ -84,7 +84,11 @@
{% endif %}

<div class="metric">
<span class="value status-warning">{% if collector.summary.legacy_routing %}enabled{% else %}disabled{% endif %}</span>
{% if collector.summary.legacy_routing %}
<span class="value status-warning">enabled</span>
{% else %}
<span class="value">disabled</span>
{% endif %}
<span class="label">Legacy Routing</span>
</div>
</div>
Expand Down

0 comments on commit 194f942

Please sign in to comment.