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