1 {% extends 'documents/base.html' %}
2 {% load sorl_thumbnail %}
5 <h1>Źródło: {{ source }}</h1>
8 <a href="{% url 'source_upload' source.pk %}">
13 <h2>Przypisania do książek:</h2>
14 {% for bs in source.booksource_set.all %}
16 <a href="{{ bs.book.get_absolute_url }}">
20 {% if bs.page_start or bs.page_end %}
21 (skany {{ bs.page_start }}—{{ bs.page_end }})
27 {% for f in bs.get_files %}
28 {% thumbnail f '200x200' as c %}
29 <a href="{{ MEDIA_URL }}{{ f }}"><img src="{{ c.url }}"></a>