fix wrong workshop name
[prawokultury.git] / prawokultury / templates / base.html
1 <!DOCTYPE html>
2 {% load i18n %}
3 {% load static from staticfiles %}
4 {% load fnp_common migdal_tags fnp_share fnp_lang menu_tags %}
5 {% load sponsor_tags %}
6 {% load compressed %}
7 {% load piwik_tags %}
8 {% load entry_url %}
9 <html prefix="og: http://ogp.me/ns#">
10     <head>
11        <title>{% block "titleextra" %}{% endblock %}CopyCamp</title>
12        <link rel="shortcut icon" type="image/png" href="{% static "img/favicon.png" %}" />
13         {% compressed_css 'base' %}
14
15         <meta charset="UTF-8" />
16         <meta property='og:url' content='{% block "ogurl" %}{{ request.get_full_path|build_absolute_uri:request }}{% endblock %}' />
17         <meta property='og:title' content='{% block "ogtitle" %}CopyCamp{% endblock %}' />
18         <meta property='og:site_name' content='CopyCamp' />
19         <meta property='og:description' content='{% block "ogdescription" %}{% trans "CopyCamp Conference is the first large-scale meeting in Poland devoted to the issues of copyright in both ideological and practical terms." %}{% endblock %}' />
20         <meta property='og:type' content='{% block "ogtype" %}website{% endblock %}' />
21         <meta property='og:image' content='{% block "ogimage" %}https://copycamp.pl{% static "img/copycamp_2016_"|add:request.LANGUAGE_CODE|add:"_big.png" %}{% endblock %}' />
22         <meta property='og:locale' content='{% if LANGUAGE_CODE == 'en'%}en_US{% else %}pl_PL{% endif %}' />
23     </head>
24     <body>
25     <div id="body">
26         {% comment %}
27         <a href="https://nowoczesnapolska.org.pl/pomoz-nam/wesprzyj-nas/" style="width: 100%; display: inline-block;">
28             <img src="{% static 'img/960x150_ogolny.jpg' %}">
29         </a>
30         {% endcomment %}
31
32         <div id="header-bar">
33         <div class="bar-left">
34             <a id="logo" href="{% url "migdal_main" %}">
35                 <img alt="{% trans "CopyCamp" %}"
36                     src="{% static "img/copycamp_2016_"|add:request.LANGUAGE_CODE|add:".png" %}" /></a>
37         </div>
38         <div class="bar-right">
39             <a href="http://prawokultury.pl"><img src="{% static "img/logo_160.png" %}" alt="PrawoKultury.pl"/></a>
40             <div class="social">
41                 {% url 'migdal_main' as main_url %}
42                 {% share main_url "CopyCamp" "big" %}
43             </div>
44         </div>
45         <div style="clear: both;"></div>
46         </div>
47
48         <div id="menu-bar">
49         <div class="bar-right">
50             <!--form id="search-form" method="GET" action="{% url 'search' %}"><input name="q" /><button>
51                 <img src="{% static "img/search.png" %}" alt="{% trans "Search" %}" />
52             </button></form-->
53         </div>
54         <ul id="menu" class="bar-left">
55             {% block "main_menu" %}
56                 {% main_menu %}
57             {% endblock %}
58             <li id="item-lang">{% lang_switcher %}</li>
59         </ul>
60         <a href="{{ REGISTRATION_URL }}" style="float: right; margin: 0 10px; width: 220px; text-align:center; background: #ED7F00; color: white; font-size: 24px; text-transform: uppercase;">{% trans "Registration" %}</a>
61         <div style="clear: both;"></div>
62         </div>
63
64         <div id="main-bar">
65         <div id="sidebar" class="bar-right">
66             {% block "sidebar" %}
67                 <a href="{% entry_url "warsztaty" %}" style="display: block; margin-bottom: 10px; width: 220px; text-align:center; background: #ED7F00; color: white; font-size: 24px; text-transform: uppercase;">{% trans "Workshops" %}</a>
68                 <div class="sidebar-box" style="text-align:center; font-size: 1.3em;">
69                     <strong><a target="_blank" style="display: block" href="https://prawokultury.pl/publikacje/cory-doctorow-kontekst/">
70                         <img style="margin-bottom: .5em;" src="//prawokultury.pl/media/entry/image/cory_cvr_fb_2_maly.jpg" alt="Cory Doctorow &ndash; Kontekst"><br>
71                         Książka:<br/>
72                         Cory Doctorow &ndash; Kontekst<br/>
73                         Kup na PrawoKultury.pl
74                 </a></strong></div>
75
76                 <div class="sidebar-box">
77                     {% sponsor_page 'main' %}
78                 </div>
79             {% endblock %}
80         </div>
81         <div id="content" class="bar-left">
82             {% block "body" %}{% endblock %}
83         </div>
84         <div style="clear: both;"></div>
85         </div>
86
87         <div id="footer-bar">
88             <p class="footer-item">
89                 <strong>Fundacja Nowoczesna Polska</strong><br/>
90                 <br/>
91                 ul. Marszałkowska 84/92 lok. 125<br/>
92                 00-514 Warszawa<br/>
93                 tel/fax: +48 22 621 30 17<br/>
94                 e-mail: fundacja@nowoczesnapolska.org.pl<br/>
95             </p>
96             <p class="footer-item">
97                 <br/><br/>
98                 KRS: 0000070056<br/>
99                 REGON: 017423865<br/>
100                 Nr konta: 46 10201097 0000 7502 0001 6766
101             </p>
102             <p class="footer-item">
103                 <br/><br/>
104                 {% trans "If not explicitly stated otherwise, all texts are licensed under the <a href='http://creativecommons.org/licenses/by-sa/3.0/'>Creative Commons Attribution-Share Alike</a> free license." %}
105             </p>
106
107             <div style="clear: both;"></div>
108         </div>
109
110     </div>
111     <script type="text/javascript" src="//code.jquery.com/jquery-1.8.0.min.js" charset="utf-8"></script>
112     {% compressed_js 'base' %}
113     {% tracking_code %}
114     </body>
115 </html>