Commit 41666653 authored by Laurent Montel's avatar Laurent Montel 😁

Don't show icon when it's not defined

parent 495fa743
......@@ -102,7 +102,12 @@
<div dir="{{ incidence.ltr }}">
<h2 class="summary">{% icon incidence.iconName desktop %} {{ incidence.summary|safe }}</h2>
<h2 class="summary">
{% if incidence.iconName %}
{% icon incidence.iconName desktop %}
{% endif %}
{{ incidence.summary|safe }}</h2>
<table border="0">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment