Skip to content

Commit

Permalink
examiner: Change appearance of alternative links
Browse files Browse the repository at this point in the history
  • Loading branch information
JakobGM committed Jan 26, 2019
1 parent 8d65a2d commit 382ff58
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions examiner/templates/examiner/pdf_links.html
Expand Up @@ -33,16 +33,10 @@

</div>

{# New line before alternative PDFs #}
{% elif forloop.counter == 2 %}
<br>
<i class="fa fa-external-link"></i>
{% endif %}

{# Add we now add all the alternative PDFs with counters #}
{% if forloop.counter > 1 %}
<a href="{{ pdf.urls.0 }}" title="{{ pdf.filename }}" target="_blank">
[{{ forloop.counter }}]
{% elif forloop.counter > 1 %}
<a href="{{ pdf.urls.0 }}" title="{{ pdf.filename }}" target="_blank" class="badge badge-secondary" style="color: white; vertical-align: text-bottom;">
{{ forloop.counter }}
</a>
{% endif %}

Expand Down

0 comments on commit 382ff58

Please sign in to comment.