X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/f7833f76b5f9555b0d95d23d47fc886a3528a335..6b7c022c3d28860b2f22a29097fdaeacfe7e00f9:/wolnelektury/templates/lessons/document_detail.html 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 %}