X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/f7833f76b5f9555b0d95d23d47fc886a3528a335..111b8c6ae387d96f80f90904acd87a2dfb544070:/wolnelektury/templates/lessons/document_detail.html?ds=inline diff --git a/wolnelektury/templates/lessons/document_detail.html b/wolnelektury/templates/lessons/document_detail.html index 9ee604e90..e55454853 100644 --- a/wolnelektury/templates/lessons/document_detail.html +++ b/wolnelektury/templates/lessons/document_detail.html @@ -1,21 +1,8 @@ -{% extends 'base.html' %} - -{% block title %}{{ object.title }} w WolneLektury.pl{% endblock %} - -{% block body %} -

{{ object.title }}

-
-

{{ form.q }} lub wróć do listy materiałów

-
- -
-

Pobierz {% if object.author %}(autor: {{ object.author }}){% endif %}

- {% if object.slideshare_id %} - - - {% endif %} - {% if object.description %} -

{{ object.description|urlize|linebreaks }}

- {% endif %} -
-{% endblock body %} \ No newline at end of file +{% if not object.html %} + {% if object.slideshare_id %} + + + {% endif %} +{% else %} + {{ object.html|safe }} +{% endif %}