X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/ab8ffbde2df33d9c699e029ba613d2b014ba44b8..884be9d702f99a38cd9b04c4fdedca887286f35d:/apps/picture/templates/picture/picture_viewer.html diff --git a/apps/picture/templates/picture/picture_viewer.html b/apps/picture/templates/picture/picture_viewer.html index 40cbd8071..65b689d27 100644 --- a/apps/picture/templates/picture/picture_viewer.html +++ b/apps/picture/templates/picture/picture_viewer.html @@ -1,72 +1,80 @@ +{% extends "catalogue/viewer_base.html" %} {% load i18n %} {% load static from staticfiles %} -{% load chunks compressed catalogue_tags %} +{% load compressed catalogue_tags %} {% load thumbnail %} - - - - -{# XXX było: picture.pretty_title #} - {% trans "Wolne Lektury" %} :: {{ picture.title }} - - {% compressed_css "picture" %} - - - {% compressed_js "book" %} - - - - - -
-
- Wolne Lektury - - Narodowe Centrum Kultury -
- {% book_info picture %} -
- {{ picture.html_file.read|safe }} - + +{% block title %}{{ picture.pretty_title }}{% endblock %} + + +{% block body-id %}picture-viewer{% endblock %} + + +{% block js-dependencies %} + +{% endblock %} + + +{% block no-menu-extra %} +
  • +
  • -
  • +{% endblock %} + + +{% block menu %} +
  • +-
  • + + +
  • + {{ picture.pretty_title }} +
  • + + +
  • {% trans "Objects" %}
  • +
  • {% trans "Themes" %}
  • + + + + +
  • + Narodowe Centrum Kultury +
  • + +{% endblock %} + +{% block main %}
    - {% thumbnail picture.image_file "700x500" as pic %}
    -
    {% endthumbnail %}
    - {{ piwik_tag|safe }} -
    -
    -
    +{% endblock %} + + +{% block footer %} +{{ picture.html_file.read|safe }} + +
    +
    Wolne Lektury - -
    -
    - Narodowe Centrum Kultury + + Narodowe Centrum Kultury
    -
    - - + +
    + {{ picture.short_html }} +
    + +{% endblock %}