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

Fix spacing in substitutions print

parent 0179d302
No related branches found
No related tags found
1 merge request!315Resolve "Substitutions PDF for new data model"
Pipeline #192189 failed
<strong>
{{ subject.short_name|default:subject.name }}
</strong>
{{ subject.short_name|default:subject.name }}
{% if el.cancelled and el.amends.groups.all %}
{% include "chronos/partials/groups.html" with groups=el.amends.groups.all %}
{% elif el.groups.all and el.amends.groups.all %}
<s>
{% include "chronos/partials/groups.html" with groups=el.amends.groups.all %}
</s>
<strong>
{% include "chronos/partials/groups.html" with groups=el.groups.all %}
</strong>
<s>{% include "chronos/partials/groups.html" with groups=el.amends.groups.all %}</s>
&nbsp;&nbsp;
<strong>{% include "chronos/partials/groups.html" with groups=el.groups.all %}</strong>
{% elif el.groups.all and not el.amends.groups.all %}
{% include "chronos/partials/groups.html" with groups=el.groups.all %}
{% elif el.amends.groups.all %}
......
......@@ -7,7 +7,7 @@
{{ el.REFERENCE_OBJECT.slot_number_start }}.–{{ el.REFERENCE_OBJECT.slot_number_end }}.
{% endif %}
{% elif el.DTSTART.dt.time %}
{{ el.DTSTART.dt.time }} - {{ el.DTSTART.dt.time }}
{{ el.DTSTART.dt.time }}{{ el.DTSTART.dt.time }}
{% else %}
{% trans "all day" %}
{% endif %}
......
{% if el.cancelled and el.amends.rooms.all %}
{% include "chronos/partials/rooms.html" with rooms=el.amends.rooms.all %}
{% elif el.rooms.all and el.amends.rooms.all %}
<s>
{% include "chronos/partials/rooms.html" with rooms=el.amends.rooms.all %}
</s>
<strong>
{% include "chronos/partials/rooms.html" with rooms=el.rooms.all %}
</strong>
{% elif el.rooms.all and not el.amends.rooms.all %}
{% include "chronos/partials/rooms.html" with rooms=el.rooms.all %}
{% elif el.amends.rooms.all %}
{% include "chronos/partials/rooms.html" with rooms=el.amends.rooms.all %}
{% endif %}
{% if el.cancelled and el.amends.rooms.all %}
{% include "chronos/partials/rooms.html" with rooms=el.amends.rooms.all %}
{% elif el.rooms.all and el.amends.rooms.all %}
<s>
{% include "chronos/partials/rooms.html" with rooms=el.amends.rooms.all %}
</s>
<strong>
{% include "chronos/partials/rooms.html" with rooms=el.rooms.all %}
</strong>
<s>{% include "chronos/partials/rooms.html" with rooms=el.amends.rooms.all %}</s>
&nbsp;&nbsp;
<strong>{% include "chronos/partials/rooms.html" with rooms=el.rooms.all %}</strong>
{% elif el.rooms.all and not el.amends.rooms.all %}
{% include "chronos/partials/rooms.html" with rooms=el.rooms.all %}
{% elif el.amends.rooms.all %}
......
......@@ -11,7 +11,7 @@
<s>{% include "chronos/partials/subject.html" with subject=el.amends.subject %}</s>
{% elif el.subject and el.amends.subject %}
<s>{% include "chronos/partials/subject.html" with subject=el.amends.subject %}</s>
&nbsp;&nbsp;
<strong>{% include "chronos/partials/subject.html" with subject=el.subject %}</strong>
{% elif el.subject and not el.amends.subject %}
{% include "chronos/partials/subject.html" with subject=el.subject %}
......
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