X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/f7833f76b5f9555b0d95d23d47fc886a3528a335..02b46ac5bb9ae5301e4764b9c111c971aa86b333:/wolnelektury/templates/lessons/document_detail.html?ds=sidebyside 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 %}