regluit/frontend/templates/facets/license.html

7 lines
522 B
HTML

{% with license=facet.context.license %}
<div>
<p><a href="{{license.url}}"><img src="{{license.badge}}" alt="badge for {{license}}" /></a> <span class="user-short-info">These {% if license %}<a href="{{license.url}}">{{ license.title }}</a>{% endif %} {%if license.is_pd %}ebooks are free to read - they belong to all of us!{% else %}licensed ebooks are free to read - the people who created them want you to read and share them.{% endif %}</span></p>
<p>{{license.description}}</p>
</div>
{% endwith %}