regluit/frontend/templates/lockss.html

35 lines
2.0 KiB
HTML

{% extends "base.html" %}
{% block content %}
<div style="width: 80%; margin: 15px auto;" class="clearfix">
<img style="float:left; margin-right: 10px;" width="100" height="85" src="/static/images/LOCKSSpreserved.png"><span>We are partnering with LOCKSS to safeguard unglued ebooks. The LOCKSS Program (Lots of Copies Keep Stuff Safe) is an open source, cooperative, distributed system for preserving and providing access to digital content. For more information, see <a href="http://www.lockss.org/">the LOCKSS web site</a>.</span>
</div>
<div style="width: 80%; margin: 15px auto;">
{% if ebooks %}
{% for ebook in ebooks %}
<div>
<I>{{ work.title }}</i><br />
{% if authors|length = 1 %}
{{ authors.0 }}
{% else %}
{% if authors|length = 2 %}
{{ authors.0 }} and {{ authors.1 }}
{% else % }
{% for author in authors %}
{% if forloop.last %} and {{ author }}{% else %}{{ author }}, {% endif %}
{% endfor %}
{% endif %}
{% endif %}
<p>
<a rel="license" href="{{ work.last_campaign.license_url }}"><img alt="Creative Commons License" style="border-width:0" src="{{ ebook.rights_badge }}" /></a><br />This work is licensed under a <a rel="license" href="{{ work.last_campaign.license_url }}">{{ work.last_campaign.license }} License</a>.
</p>
<p>
<a href="{% url download_ebook ebook.id %}">Download.</a>
</p>
</div>
{% endfor %}
{% else %}
When an unglued ebook for <I>{{ work.title }}</I> is available, the LOCKSS harvester will be able to download it here.
{% endif %}
</div>
{% endblock %}