Make hyphenated ISBN a property on the book model
This commit is contained in:
parent
0be5cf31dc
commit
83ad45644b
3 changed files with 7 additions and 3 deletions
|
@ -6,7 +6,7 @@
|
|||
{% if book.isbn_13 %}
|
||||
<div class="is-flex is-flex-wrap-wrap">
|
||||
<dt class="mr-1">{% trans "ISBN:" %}</dt>
|
||||
<dd itemprop="isbn" class="mr-1" id="isbn_content">{{ hyphenated_isbn13 }}</dd>
|
||||
<dd itemprop="isbn" class="mr-1" id="isbn_content">{{ book.hyphenated_isbn13 }}</dd>
|
||||
<div>
|
||||
<button class="button is-small" data-copywithtooltip data-content-id="isbn_content" data-tooltip-id="isbn_tooltip">
|
||||
<span class="icon icon-copy" title="{% trans "Copy ISBN" %}">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue