diff --git a/pandora/mobile/views.py b/pandora/mobile/views.py index 9e02ae7b0..1fc87e6ff 100644 --- a/pandora/mobile/views.py +++ b/pandora/mobile/views.py @@ -25,6 +25,8 @@ def index(request, fragment): document = Document.objects.filter(id=ox.fromAZ(id)).first() if document and document.access(request.user): context['title'] = document.data['title'] + if document.data.get('description'): + context['description'] = document.data['description'] link = request.build_absolute_uri(document.get_absolute_url()) # FIXME: get preview image or fragment parse from url public_id = ox.toAZ(document.id) diff --git a/pandora/templates/document.html b/pandora/templates/document.html index c893d3639..34139cc4c 100644 --- a/pandora/templates/document.html +++ b/pandora/templates/document.html @@ -22,7 +22,7 @@
{{title}}
-
{{description_html|safe}}
+
{{description|safe}}
{% for c in clips %}