Merge branch 'api'
[wolnelektury.git] / wolnelektury / templates / base.html
index 7832dcd..6480df9 100644 (file)
@@ -4,10 +4,12 @@
        {% load i18n chunks compressed catalogue_tags sponsor_tags %}
     <head>
         <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
-        <meta http-equiv="Content-Style-Type" content="text/css">
+        <meta http-equiv="Content-Style-Type" content="text/css" />
+        <meta name="description" 
+            content="{% block metadescription %}Darmowe opracowane, pełne teksty lektur, e-booki, audiobooki i pliki DAISY na wolnej licencji.{% endblock %}" />
         <title>{% block title %}WolneLektury.pl{% endblock %}</title>
         <link rel="icon" href="{{ STATIC_URL }}img/favicon.png" type="image/png" />
-        <link rel="search" type="application/opensearchdescription+xml" title="Wolne Lektury" href="{{ STATIC_URL }}opensearch.xml">
+        <link rel="search" type="application/opensearchdescription+xml" title="Wolne Lektury" href="{{ STATIC_URL }}opensearch.xml" />
         {% compressed_css "all" %}
         <script type="text/javascript">var LANGUAGE_CODE = "{{ LANGUAGE_CODE }}";</script>
         {% compressed_js "jquery" %}
                                        {% endspaceless %}                              
                        </div>
                 </form>
+            {# publication plan consultations - form link #}
+            <div style="clear:right;float:right" class="big-top-link">
+                <a href="{% url suggest_publishing %}" data-ajax="{% url suggest_publishing %}?ajax=1" id="suggest-publishing-link">
+                    {% trans "Didn't find a book? Make a suggestion." %}
+                </a>
+            </div>
             <div class="clearboth"></div>
         </div>
         <div id="maincontent">
@@ -71,7 +79,7 @@
                {% blocktrans %}
                                Wolne Lektury is a project lead by <a href="http://nowoczesnapolska.org.pl/">Modern Poland Foundation</a>.
                                Digital reproductions are made by <a href="http://www.bn.org.pl/">The National Library</a> and <a href="http://www.bs.katowice.pl/">Biblioteka Śląska</a>, based on TNL and BŚ resources.
-                               Hosting <a href="http://eo.pl/">EO Networks</a>.
+                               Hosting: <a href="http://www.icm.edu.pl/">ICM</a>.
                                {% endblocktrans %}
             </p>
             <p>
                 <p><img src="{{ STATIC_URL }}img/indicator.gif" alt="*"/> {% trans "Loading" %}</p>
             </div>
         </div>
+        <div id="suggest-publishing-window">
+            <div class="header"><a href="#" class="jqmClose">{% trans "Close" %}</a></div>
+            <div class="target">
+                <p><img src="{{ STATIC_URL }}img/indicator.gif" alt="*"/> {% trans "Loading" %}</p>
+            </div>
+        </div>
         {% endblock bodycontent %}
         {{ piwik_tag|safe }}
         <script type="text/javascript">
         pageTracker._trackPageview();
         </script>
     </body>
-</html>
\ No newline at end of file
+</html>