Skip to content

Commit

Permalink
publications: Change list field order
Browse files Browse the repository at this point in the history
Change order of fields in publications list to

- authors
- title
- source
- groups
  • Loading branch information
donald committed Aug 5, 2021
1 parent d13ff0f commit ca0387e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions mpicms/templates/publications/components/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,14 @@ <h3 class="title is-3 has-text-centered">{% trans 'Publications' %}</h3>
<tbody>
{% for publication in publications %}
<tr><td>
{{ publication.authors|richtext }}
{% if publication.doi %}
<a href="{{ publication.link }}"><b>{{ publication.title|richtext }}</b></a>
{% else %}
<b>{{ publication.title|richtext }}</b>
{% endif %}

{{ publication.groups|richtext }}
{{ publication.authors|richtext }}
{{ publication.source|richtext }}
{{ publication.groups|richtext }}
</td></tr>
{% endfor %}
</tbody>
Expand All @@ -24,4 +23,4 @@ <h3 class="title is-3 has-text-centered">{% trans 'Publications' %}</h3>
<div class="section-button" >
<a href="https://www.molgen.mpg.de/publikationen"><button class="button">{% trans 'More in PuRe' %}&nbsp&nbsp<i class="fas fa-chevron-right"></i></button></a>
</div>
{% endif %}
{% endif %}

0 comments on commit ca0387e

Please sign in to comment.