add link to openlibrary and worldcat
This commit is contained in:
parent
dde29ed065
commit
ccea266fcf
1 changed files with 14 additions and 1 deletions
|
@ -201,8 +201,21 @@
|
|||
</div>
|
||||
|
||||
<div class="grid__aside" id="aside">
|
||||
{% if book.isbn %}
|
||||
<meta property="og:book:isbn" content="">
|
||||
|
||||
<div class="aside-section-wrapper">
|
||||
<div class="action-panel" id="addMarkPanel">
|
||||
<div class="action-panel__label">{% trans '借阅或购买' %}</div>
|
||||
<div class="action-panel__button-group">
|
||||
<a class="action-panel__button" target="_blank" href="https://www.worldcat.org/isbn/{{ book.isbn }}">{% trans 'WorldCat' %}</a>
|
||||
<a class="action-panel__button" target="_blank" href="https://openlibrary.org/search?isbn={{ book.isbn }}">{% trans 'Open Library' %}</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<div class="aside-section-wrapper">
|
||||
|
||||
{% if mark %}
|
||||
<div class="mark-panel">
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue