Merge pull request #651 from Gluejar/tweak-doab-links
change target of links to PG/DOAB and add facet links to explore panelpull/1/head
commit
ea03f59ad2
|
@ -18,6 +18,12 @@
|
|||
<li><a href="{% url 'free' %}"><span>Free eBooks!</span></a>
|
||||
{% if work %}
|
||||
<ul class="menu level3">
|
||||
{% if work.doab %}
|
||||
<li><a href="{% url 'faceted_list' 'id/doab' %}?order_by=popular">Books in DOAB</a></li>
|
||||
{% endif %}
|
||||
{% if work.gtbg %}
|
||||
<li><a href="{% url 'faceted_list' 'id/gtbg' %}?order_by=popular">Books in Project Gutenberg</a></li>
|
||||
{% endif %}
|
||||
{% for subject in work.subjects.all %}
|
||||
{% if subject.is_visible and subject.free_works.1 %}
|
||||
<li><a href="{% url 'faceted_list' subject.kw %}"><span>{{ subject }}</span></a></li>
|
||||
|
|
|
@ -291,12 +291,12 @@
|
|||
{% endfor %}
|
||||
{% if work.doab %}
|
||||
<p>
|
||||
This book is included in <a href="{% url 'faceted_list' 'id/doab' %}?order_by=popular">DOAB</a>.
|
||||
This book is included in <a href="http://www.doabooks.org/doab?func=search&query=rid%3A{{ work.doab }}">DOAB</a>.
|
||||
</p>
|
||||
{% endif %}
|
||||
{% if work.gtbg %}
|
||||
<p>
|
||||
This book is included in <a href="{% url 'faceted_list' 'id/gtbg' %}?order_by=popular">Project Gutenberg</a>.
|
||||
This book is included in <a href="https://www.gutenberg.org/ebooks/{{ work.gtbg }}">Project Gutenberg</a>.
|
||||
</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue