rearrangements: new core app, templates in apps, split settings;
[wolnelektury.git] / apps / pdcounter / templates / pdcounter / book_stub_detail.html
diff --git a/apps/pdcounter/templates/pdcounter/book_stub_detail.html b/apps/pdcounter/templates/pdcounter/book_stub_detail.html
new file mode 100644 (file)
index 0000000..f76edd1
--- /dev/null
@@ -0,0 +1,34 @@
+{% extends "base.html" %}
+{% load i18n %}
+
+{% block titleextra %}{{ book.title }}{% endblock %}
+
+{% block metadescription %}Licznik domeny publicznej: {{ book.title }}.{% endblock %}
+
+{% block bodyid %}book-stub-detail{% endblock %}
+
+{% block body %}
+    <div class="left-column">
+    <h1>{{ book.author }}, {{ book.title }}</h1>
+       <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>
+       {% 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>
+                       <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." %}
+                   {% trans "<a href='http://domenapubliczna.org/co-to-jest-domena-publiczna/'>Find out</a> why Internet libraries can't publish this work." %}</p>
+               {% endif %}
+       {% endif %}
+    {% include "info/join_us.html" %}
+    </div>
+    </div>
+
+    <div class="right-column block-form">
+        {% include "publishing_suggest.html" %}
+    </div>
+{% endblock %}