Contact forms app.
[prawokultury.git] / prawokultury / templates / base.html
index e1095eb..57ea892 100755 (executable)
@@ -1,20 +1,20 @@
 <!DOCTYPE html>
 {% load url from future %}
 {% load i18n static %}
 <!DOCTYPE html>
 {% load url from future %}
 {% load i18n static %}
-{% load migdal_tags events_tags share %}
+{% load common_tags migdal_tags share %}
 {% load compressed %}
 <html prefix="og: http://ogp.me/ns#">
     <head>
 {% load compressed %}
 <html prefix="og: http://ogp.me/ns#">
     <head>
-       <title>{% trans "Culture's right" %}{% block "titleextra" %}{% endblock %}</title>
+       <title>{% block "titleextra" %}{% endblock %}CopyCamp</title>
        <link rel="shortcut icon" type="image/png" href="{% static "img/favicon.png" %}" />
         {% compressed_css 'base' %}
 
         <meta property='og:url' content='{% block "ogurl" %}{% url 'migdal_main' %}{% endblock %}' />
        <link rel="shortcut icon" type="image/png" href="{% static "img/favicon.png" %}" />
         {% compressed_css 'base' %}
 
         <meta property='og:url' content='{% block "ogurl" %}{% url 'migdal_main' %}{% endblock %}' />
-        <meta property='og:title' content='{% block "ogtitle" %}{% trans "Culture's right" %}{% endblock %}' />
-        <meta property='og:site_name' content='{% trans "Culture's right" %}' />
-        <meta property='og:description' content='{% block "ogdescription" %}Prawokultury.pl to strona edukacyjna mająca za zadanie w przystępny i rzetelny sposób informować o wszelkich kwestiach związanych z prawem autorskim.{% endblock %}' />
+        <meta property='og:title' content='{% block "ogtitle" %}CopyCamp{% endblock %}' />
+        <meta property='og:site_name' content='CopyCamp' />
+        <meta property='og:description' content='{% block "ogdescription" %}CopyCamp!{% endblock %}' />
         <meta property='og:type' content='{% block "ogtype" %}website{% endblock %}' />
         <meta property='og:type' content='{% block "ogtype" %}website{% endblock %}' />
-        <meta property='og:image' content='{% block "ogimage" %}{% static "img/square-logo.png"%}{% endblock %}' />
+        <meta property='og:image' content='{% block "ogimage" %}{{ "/static/img/square-logo.png"|build_absolute_uri:request }}{% endblock %}' />
         <meta property='og:locale' content='pl_PL' />
     </head>
     <body>
         <meta property='og:locale' content='pl_PL' />
     </head>
     <body>
         <div id="header-bar">
         <div class="bar-left">
             <a id="logo" href="{% url "migdal_main" %}">
         <div id="header-bar">
         <div class="bar-left">
             <a id="logo" href="{% url "migdal_main" %}">
-                <img alt="{% trans "Culture's right" %}"
+                <img alt="{% trans "CopyCamp" %}"
                     src="{% static "img/logo.png" %}" /></a>
         </div>
         <div class="bar-right">
                     src="{% static "img/logo.png" %}" /></a>
         </div>
         <div class="bar-right">
-            <div class="org-fnp">
-                <span>{% trans "Organizer" %}</span><br/>
-                <a href="http://nowoczesnapolska.org.pl">
-                    <img src="{% static 'img/logo-fnp.png' %}"
-                        alt="{% trans "Modern Poland Foundation" %}" /></a>
-            </div><div class="org-trust">
-                <span>{% trans "Sponsor" %}</span><br/>
-                <a href="http://ceetrust.org">
-                    <img src="{% static 'img/logo-trust.png' %}"
-                        alt="{% trans "Trust for Civil Society in Central and Eastern Europe" %}" /></a>
+            <div class="social">
+                {% url 'migdal_main' as main_url %}
+                {% share main_url "CopyCamp" "big" %}
             </div>
         </div>
         <div style="clear: both;"></div>
             </div>
         </div>
         <div style="clear: both;"></div>
         <div id="sidebar" class="bar-right">
             {% block "sidebar" %}
                 <div class="sidebar-box">
         <div id="sidebar" class="bar-right">
             {% block "sidebar" %}
                 <div class="sidebar-box">
-                    <h3><a href="{% url 'events' %}">{% trans "Upcoming events" %}</a></h3>
-                    {% events_box %}
-                </div>
-                <div id="sidebar-box-categories" class="sidebar-box">
-                    {% categories 'topics' %}
-                    {% categories 'types' %}
-                </div>
-                <div class="sidebar-box social">
-                    {% url 'migdal_main' as main_url %}
-                    {% trans "Culture's right" as site_name %}
-                    {% share main_url site_name "big" %}
-                    <!--a href="{% url 'migdal_main_feed' %}">RSS</a-->
-                </div>
-                <div class="sidebar-box">
-                    <h3>{% trans "Latest comments" %}</h3>
-                    {% last_comments %}
+                    (Sponsorzy)
                 </div>
             {% endblock %}
         </div>
                 </div>
             {% endblock %}
         </div>