X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/3c3017d22da6f0a990ee88417e6e79ed7450245c..3d1fb545dd1f49e0624d3adf20e5568b1c33d8ec:/wolnelektury/templates/lessons/document_detail.html diff --git a/wolnelektury/templates/lessons/document_detail.html b/wolnelektury/templates/lessons/document_detail.html index 7c6406c19..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 %}