templates fixes
[turniej.git] / apps / poetry / templates / poetry / poet.html
1 {% extends "base.html" %}
2 {% load url from future %}
3
4
5 {% block "extratitle" %}: {{ poet.name }}{% endblock %}
6
7
8 {% block "body" %}
9
10 <h1>
11 <a href='/'><img src="{{ STATIC_URL }}img/turniej-maly.png" style='float:left; margin-right: 10px; margin-top: -13px' /></a>
12 {{ poet.name }}</h1>
13
14 <div>
15 <span style="position:relative; top: -5px;" >
16     <div class="fb-like" data-send="false" data-layout="button_count" data-width="150" data-show-faces="false"></div>
17 </span>
18 <g:plusone annotation="bubble"></g:plusone>
19 <script>
20   new nk_fajne({
21     url: "{{ request.build_absolute_uri }}",
22     type: 4,
23     color: 0,
24     title: "{{ poet.name }}",
25     image: "http://turniej.wolnelektury.pl/turniej.png",
26     description: "Turniej Elektrybałtów - konkurs na najlepszego automatycznego poetę."
27   });
28 </script>
29 </div>
30
31 <p><a href="{% url 'poetry_main' %}">Zobacz wszystkich autorów.</a></p>
32
33 <p>Autor programu: <strong>{{ poet.author }}</strong></p>
34
35 <p>{{ poet.description }}</p>
36
37 <p>Kod źródłowy: <a href="{{ poet.url }}">{{ poet.url }}</a></p>
38
39 <a class="tworz" href="{% url 'poetry_new' poet.slug %}">Twórz-że!</a>
40
41 <p>Ostatnio opublikowane utwory:</p>
42 <ul class='plain'>
43 {% for poem in last %}
44     <li><a href="{{ poem.get_absolute_url }}">{{ poem }}</a></li>
45 {% endfor %}
46 </ul>
47
48 {% endblock %}