{% extends "base.html" %}
{% load i18n %}
+{% load time_tags %}
{% block titleextra %}{{ book.title }}{% endblock %}
-{% block metadescription %}Licznik domeny publicznej: {{ book.title }}.{% endblock %}
+{% block metadescription %}{% trans "Public domain counter" %}: {{ book.title }}.{% endblock %}
{% block bodyid %}book-stub-detail{% endblock %}
<div class="normal-text white-box">
{% if book.in_pd %}
- <p>{% trans "This work is in public domain and will be published on Internet school library of Wolne Lektury soon." %}</p>
+ <p>{% trans "This work is in public domain and will be published on Internet library of Wolne Lektury soon." %}</p>
{% else %}
{% if book.pd %}
<p>{% trans "This work will become part of public domain and will be allowed to be published without restrictions in" %}</p>
- <div id='countdown' data-year='{{ pd_counter }}'></div>
+ <div class='countdown' data-until='{{ pd_counter|date_to_utc|utc_for_js }}'></div>
<p>{% trans "<a href='http://domenapubliczna.org/co-to-jest-domena-publiczna/'>Find out</a> why Internet libraries can't publish this work." %}</p>
{% else %}
<p>{% trans "This work is copyrighted." %}