forked from mirrors/bookwyrm
Show availability in links panel
This commit is contained in:
parent
39814a21f2
commit
1595bac9b5
1 changed files with 6 additions and 0 deletions
|
@ -30,6 +30,12 @@
|
|||
<li>
|
||||
<a href="{{ link.url }}" rel="noopener" target="_blank" title="{{ link.url }}" data-modal-open="{{ verify_modal }}">{{ link.name }}</a>
|
||||
({{ link.filetype }})
|
||||
|
||||
{% if link.availability != "free" %}
|
||||
<p class="help">
|
||||
{{ link.get_availability_display }}
|
||||
</p>
|
||||
{% endif %}
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
|
Loading…
Reference in a new issue