minor stuff
[emels.git] / emels / templates / base_super.html
index 9765598..fcd5fda 100644 (file)
@@ -4,12 +4,12 @@
 {% load pipeline static %}
 {% load piwik_tags %}
 
 {% load pipeline static %}
 {% load piwik_tags %}
 
-{% macro title %}{% block title %}{% endblock %}{% endmacro %}
+{% macro title %}{% block titleextra %}{% endblock %}{% endmacro %}
 {% macro site_name %}Emels{% endmacro %}
 
 <html prefix="og: http://ogp.me/ns#">
     <head>
 {% macro site_name %}Emels{% endmacro %}
 
 <html prefix="og: http://ogp.me/ns#">
     <head>
-       <title>{% block full_title %}{% usemacro title %} :: {% usemacro site_name %}{% endblock %}</title>
+       <title>{% block full_title %}{% usemacro title %} {% usemacro site_name %}{% endblock %}</title>
        <link rel="shortcut icon" type="image/png" href="{% static "img/favicon.png" %}" />
         {% stylesheet 'base' %}
 
        <link rel="shortcut icon" type="image/png" href="{% static "img/favicon.png" %}" />
         {% stylesheet 'base' %}
 
         <meta property='og:type' content='{% block og_type %}website{% endblock %}' />
         <meta property='og:image' content='{% block og_image %}http://emels.eu/static/img/logo.png{% endblock %}' />
         <meta property='og:locale' content='pl_PL' />
         <meta property='og:type' content='{% block og_type %}website{% endblock %}' />
         <meta property='og:image' content='{% block og_image %}http://emels.eu/static/img/logo.png{% endblock %}' />
         <meta property='og:locale' content='pl_PL' />
+        <link href="{% url 'migdal_main_feed' %}" rel="alternate" type="application/rss+xml" title="Emels" />
         <!--[if lt IE 9]><script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script></script><![endif]-->
     </head>
     <body id="{% block body-id %}body{% endblock %}">
         <div id="header-wrapper">
         <header class="main {% block header_class %}{% endblock %}" style="position:relative;">
             {% if request.user.is_authenticated %}
         <!--[if lt IE 9]><script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script></script><![endif]-->
     </head>
     <body id="{% block body-id %}body{% endblock %}">
         <div id="header-wrapper">
         <header class="main {% block header_class %}{% endblock %}" style="position:relative;">
             {% if request.user.is_authenticated %}
-                <a href="{% url 'logout' %}" style="position: absolute; top:5px; right: 10px; font-size: 12px;">Wyloguj</a>
+                <a href="{% url 'logout' %}" style="position: absolute; top:5px; right: 10px; font-size: 12px;">{% trans "Log out" %}</a>
             {% endif %}
             <div id="header-top">
             <a id="logo" href="/">{% block logo %}<img src="{% static "img/logo.png" %}" alt="Emels"/>{% endblock %}</a>
             <div id="organizer">
                 {% block organizer %}
             {% endif %}
             <div id="header-top">
             <a id="logo" href="/">{% block logo %}<img src="{% static "img/logo.png" %}" alt="Emels"/>{% endblock %}</a>
             <div id="organizer">
                 {% block organizer %}
-                Projekt prowadzi:<br/>
+                {% trans "Project by:" %}<br/>
                 <a href="http://nowoczesnapolska.org.pl">
                     <img src="{% static "img/logo_fnp.png" %}" alt="Fundacja Nowoczesna Polska" />
                 </a>
                 <a href="http://nowoczesnapolska.org.pl">
                     <img src="{% static "img/logo_fnp.png" %}" alt="Fundacja Nowoczesna Polska" />
                 </a>
                 <p>
                 Webdesign Ortografika<br/>
                 <br/>
                 <p>
                 Webdesign Ortografika<br/>
                 <br/>
-                Jeśli nie oznaczono inaczej, wszystkie materiały na stronie są objęte wolną licencją
-                <a href="http://creativecommons.org/licenses/by-sa/3.0/deed.pl">Creative Commons Uznanie autorstwa
-                – Na tych samych warunkach 3.0</a>.
+                {% trans "Unless stated otherwise, all materials on this site are available under" %}
+                <a href="http://creativecommons.org/licenses/by-sa/3.0/deed.pl">{% trans "Creative Commons Attribution-ShareAlike 3.0" %}</a>.
                 {% block copyrights %}{% endblock %}
                 </p>
             </div>
             {% block sponsors %}
             {% endblock %}
                 {% block copyrights %}{% endblock %}
                 </p>
             </div>
             {% block sponsors %}
             {% endblock %}
+            <div class="footer-item" style="margin-right:0">
+                <p>
+                    <img src="{% static 'img/erasmus.jpg' %}" style="height:50px"/>
+                </p>
+                <p>
+                    This project has been funded with support from the European Commission.
+                </p>
+                <p>
+                    This webpage  reflects the views only of the author,
+                    and the Commission cannot be held responsible for any use which may be made of
+                    the information contained therein.
+                </p>
+            </div>
             <div class="clr"></div>
             <div class="clr"></div>
-            <div class="footer-extra">{% block footer_extra %}{% endblock %}</div>
         </footer>
 
     <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
         </footer>
 
     <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>