X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/aff5def884b3e0aeaafd7de454b68b4daa2c4f3d..8658102277980ea8e8e53a953e7c2f5fedf8de16:/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 afc3d69db..e55454853 100644 --- a/wolnelektury/templates/lessons/document_detail.html +++ b/wolnelektury/templates/lessons/document_detail.html @@ -1,22 +1,8 @@ -{% extends 'base.html' %} -{% load i18n %} - -{% block title %}{{ object.title }} w WolneLektury.pl{% endblock %} - -{% block body %} -

{{ object.title }}

-
-

{{ form.q }} {% trans "or" %} {% trans "return to list of materials" %}

-
- -
-

{% trans "Download" %} {% if object.author %}({% trans "author" %}: {{ 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 %}