{% extends "base.html" %}
{% load i18n %}
+{% load time_tags %}
{% block titleextra %}{{ author.name }}{% endblock %}
- {% block metadescription %}Licznik domeny publicznej: {{author.name}}.{% endblock %}
+ {% block metadescription %}{% trans "Public domain counter" %}: {{author.name}}.{% endblock %}
{% block bodyid %}author-detail{% endblock %}
{% trans "<a href='http://domenapubliczna.org/co-to-jest-domena-publiczna/'>Find out</a> why Internet libraries can't publish this author's works." %}</p>
{% else %}
{% if author.in_pd %}
- <p>{% trans "This author's works are in public domain and will be published on Internet school library of Wolne Lektury soon." %}</p>
+ <p>{% trans "This author's works are in public domain and will be published on Internet library of Wolne Lektury soon." %}</p>
{% else %}
<div>
<p>{% trans "This author's works 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 author's works." %}</p>
</div>
{% endif %}
{% 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." %}
}
#promo-box-header h2 {
font-size: 1.3em;
+ margin: 0;
}
#promo-box-body {
border-bottom: 2px solid #efefef;
padding-top: 1.9em;
height: 3.2em;
padding-left: 1.9em;
+ margin: 0;
+ font-size: 1em;
}
.main-last span {
font-size: 1.1em;
+ color: black;
+ }
+ .main-last span:after {
+ content: " >";
}
color: #017e85;
height: 2.8em;
padding-top: 2.5em;
+ font-size: 1em;
+ margin: 0;
}
.infopages-box h2 span {
font-size: 1.1em;
<html lang="{{ LANGUAGE_CODE }}" prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb#">
{% load cache compressed i18n %}
{% load static from staticfiles %}
- {% load catalogue_tags reporting_stats sponsor_tags %}
+ {% load catalogue_tags funding_tags reporting_stats sponsor_tags %}
<head>
<meta charset="utf-8">
<meta name="application-name" content="Wolne Lektury" />
{% endblock %}
</head>
<body id="{% block bodyid %}base{% endblock %}">
- {% include "annoy.html" %}
{% block bodycontent %}
-
+ {% funding link=1 closeable=1 add_class="funding-top-header" %}
<div id="header-bg"></div>
<div id="header">
</div>
-
<div id="main-content">
-
+
<div id="nav-line">
{% catalogue_menu %}
'waiter',
'search',
'oai',
- 'polls'
+ 'funding',
++ 'polls',
+ 'libraries',
]
+GETPAID_BACKENDS = (
+ 'getpaid.backends.payu',
+)
+
INSTALLED_APPS_CONTRIB = [
# external
'django.contrib.auth',
'djkombu',
'honeypot',
#'django_nose',
+ 'fnpdjango',
+ 'getpaid',
+ 'getpaid.backends.payu',
#allauth stuff
'uni_form',
'css/catalogue.css',
'sponsors/css/sponsors.css',
'css/auth.css',
+ 'funding/funding.scss',
+ 'polls/polls.scss',
+ 'css/form.scss',
'css/social/shelf_tags.css',
'css/ui-lightness/jquery-ui-1.8.16.custom.css',
-
- 'css/annoy.css',
],
'output_filename': 'css/compressed/all.css',
},
'book': {
'source_filenames': [
'css/master.book.css',
-
- 'css/annoy.css',
],
'output_filename': 'css/compressed/book.css',
},
'sponsors/js/sponsors.js',
'player/openplayer.js',
'js/search.js',
-
- 'js/annoy.js',
+ 'funding/funding.js',
),
'output_filename': 'js/base.min.js',
},
'js/jquery.highlightfade.js',
'js/book.js',
'player/openplayer.js',
-
- 'js/annoy.js',
],
'output_filename': 'js/book.min.js',
},
STATICFILES_STORAGE = 'pipeline.storage.PipelineCachedStorage'
PIPELINE_CSS_COMPRESSOR = None
PIPELINE_JS_COMPRESSOR = None
+
+PIPELINE_COMPILERS = (
+ 'pyscss_compiler.PySCSSCompiler',
+)
+PIPELINE_PYSCSS_BINARY = '/usr/bin/env pyscss'
+PIPELINE_PYSCSS_ARGUMENTS = ''
url(r'^ludzie/', include('social.urls')),
url(r'^uzytkownik/', include('allauth.urls')),
url(r'^czekaj/', include('waiter.urls')),
+ url(r'^wesprzyj/', include('funding.urls')),
+ url(r'^ankieta/', include('polls.urls')),
+ url(r'^biblioteki', include('libraries.urls')),
# Admin panel
url(r'^admin/catalogue/book/import$', 'catalogue.views.import_book', name='import_book'),