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