1
0
Fork 0

Make hyphenated ISBN a property on the book model

This commit is contained in:
axiomizer 2023-08-03 18:01:02 -04:00
parent 0be5cf31dc
commit 83ad45644b
3 changed files with 7 additions and 3 deletions

View file

@ -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" %}">