Skip to content

Commit

Permalink
Fix incorrect spacing in list elements
Browse files Browse the repository at this point in the history
  • Loading branch information
mic4ael authored and ThiefMaster committed Jan 12, 2018
1 parent 3664c1f commit 359ec84
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 18 deletions.
1 change: 1 addition & 0 deletions CHANGES.rst
Expand Up @@ -34,6 +34,7 @@ Bugfixes
- Fix multiple links in the same line being replaced with the first one
when converting abstracts/contributions to PDF (:issue:`2816`)
- Fix PDF generation when there are links with ``&`` in the URL
- Fix incorrect spacing in abstract author/speaker lists (:issue:`3205`)


Version 2.0rc2
Expand Down
42 changes: 24 additions & 18 deletions indico/modules/events/abstracts/templates/reviewing/public.html
Expand Up @@ -287,12 +287,14 @@ <h3 class="f-self-stretch js-mathjax">
<ul class="author-list">
{% for user in abstract.primary_authors -%}
<li class="event-user">
{{ user.full_name }}
{% if user.affiliation %}
<span class="affiliation">
(<span class="text">{{ user.affiliation }}</span>)
</span>
{% endif %}
<span>
{{ user.full_name }}
{% if user.affiliation %}
<span class="affiliation">
(<span class="text">{{ user.affiliation }}</span>)
</span>
{% endif %}
</span>
</li>
{%- endfor %}
</ul>
Expand All @@ -310,12 +312,14 @@ <h3 class="f-self-stretch js-mathjax">
<ul class="author-list">
{% for user in abstract.secondary_authors -%}
<li class="event-user">
{{ user.full_name }}
{% if user.affiliation %}
<span class="affiliation">
(<span class="text">{{ user.affiliation }}</span>)
</span>
{% endif %}
<span>
{{ user.full_name }}
{% if user.affiliation %}
<span class="affiliation">
(<span class="text">{{ user.affiliation }}</span>)
</span>
{% endif %}
</span>
</li>
{%- endfor %}
</ul>
Expand All @@ -333,12 +337,14 @@ <h3 class="f-self-stretch js-mathjax">
<ul class="author-list">
{% for user in abstract.speakers -%}
<li class="event-user">
{{ user.full_name }}
{% if user.affiliation %}
<span class="affiliation">
(<span class="text">{{ user.affiliation }}</span>)
</span>
{% endif %}
<span>
{{ user.full_name }}
{% if user.affiliation %}
<span class="affiliation">
(<span class="text">{{ user.affiliation }}</span>)
</span>
{% endif %}
</span>
</li>
{%- endfor %}
</ul>
Expand Down

0 comments on commit 359ec84

Please sign in to comment.