Просмотр исходного кода

added detection for multiple authors

practices
Simon Bowie 2 лет назад
Родитель
Сommit
33a452db93
1 измененных файлов: 7 добавлений и 1 удалений
  1. +7
    -1
      web/app/templates/book.html

+ 7
- 1
web/app/templates/book.html Просмотреть файл

{% endif %} {% endif %}
{% if resource['author'] %} {% if resource['author'] %}
<div class=""> <div class="">
<h3>Author(s)</h3>
<h3>
{% if ' and ' in resource['author'] or ',' in resource['author'] %}
Authors
{% else %}
Author
{% endif %}
</h3>
<div class="">{{ resource['author'] }}</div> <div class="">{{ resource['author'] }}</div>
</div> </div>
{% endif %} {% endif %}

Загрузка…
Отмена
Сохранить