Skip to content
Snippets Groups Projects
Verified Commit 5b37776a authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Fix substitutions print

parent 11ec241c
No related branches found
No related tags found
1 merge request!394Show events with current changes in substitutions table
Pipeline #194004 failed
{% if el.title %} {% if el.comment %}
<em>{{ el.title }}</em>
{% elif el.comment %}
<em>{{ el.comment }}</em> <em>{{ el.comment }}</em>
{% endif %} {% endif %}
...@@ -3,10 +3,9 @@ ...@@ -3,10 +3,9 @@
{% trans "Supervision" %} {% trans "Supervision" %}
{% elif not el.amends.subject and not el.subject %} {% elif not el.amends.subject and not el.subject %}
{% if el.amends.title %} {% if el.amends.title %}
<s>{{ el.amends.title }}</s> {{ el.amends.title }}
{% endif %} {% elif el.title %}
{% if el.title %} {{ el.title }}
<s>{{ el.title }}</s>
{% endif %} {% endif %}
{% elif el.cancelled %} {% elif el.cancelled %}
<s>{% include "chronos/partials/subject.html" with subject=el.amends.subject %}</s> <s>{% include "chronos/partials/subject.html" with subject=el.amends.subject %}</s>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment