Implement and use Author.display_name
This commit is contained in:
parent
a1f6a96fae
commit
a56855d5e4
4 changed files with 15 additions and 4 deletions
|
@ -1 +1 @@
|
|||
<a href="/author/{{ book.authors.first.id }}" class="author">{{ book.authors.first.name }}</a>
|
||||
<a href="/author/{{ book.authors.first.id }}" class="author">{{ book.authors.first.display_name }}</a>
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
<a href="/book/{{ book.id }}">{{ book.title }}</a>
|
||||
</td>
|
||||
<td>
|
||||
{{ book.authors.first.name }}
|
||||
{{ book.authors.first.display_name }}
|
||||
</td>
|
||||
<td>
|
||||
{% if book.first_published_date %}{{ book.first_published_date }}{% endif %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue