X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/ae60b2a3949e96357477cc04f90fd0873cee8a92..ce3795b6c4f878c496b4d46193e3379f8efb077b:/src/picture/templates/picture/picture_viewer.html
diff --git a/src/picture/templates/picture/picture_viewer.html b/src/picture/templates/picture/picture_viewer.html
index 937ef689f..3bd27b66b 100644
--- a/src/picture/templates/picture/picture_viewer.html
+++ b/src/picture/templates/picture/picture_viewer.html
@@ -1,9 +1,8 @@
{% extends "catalogue/viewer_base.html" %}
{% load i18n %}
-{% load static from staticfiles %}
+{% load static from static %}
{% load catalogue_tags %}
{% load thumbnail %}
-{% load ssi_include from ssify %}
{% block title %}{{ picture.pretty_title }}{% endblock %}
@@ -13,88 +12,92 @@
{% block js-dependencies %}
-
+
{% endblock %}
{% block no-menu-extra %}
-
+-
+ +
+ -
{% endblock %}
{% block menu %}
-+-
-
-{% spaceless %}
-
- {% with picture.get_previous as prev %}
+
+ +
+ -
+
+
+ {% spaceless %}
+
+ {% with picture.get_previous as prev %}
{% if prev %}<{%endif %}
- {% endwith %}
- {% with picture.get_next as next %}
+ {% endwith %}
+ {% with picture.get_next as next %}
{% if next %}>{% endif %}
- {% endwith %}
-
-{% endspaceless %}
-
-
-
-
-
-{% trans "Objects" %}
-{% trans "Themes" %}
-
-
-
-
-
+ {% endspaceless %}
+
+
+
+
+
+ {% trans "Objects" %}
+ {% trans "Themes" %}
+
+
+
+
-
+
{% endblock %}
{% block main %}
-
- {% thumbnail picture.image_file "700x500" as pic %}
-
+ {% thumbnail picture.image_file "700x500" as pic %}
+
-
- {% endthumbnail %}
-
+ data-width="{{pic.width}}" data-height="{{pic.height}}" style="background-image: url('{{pic.url}}'); width: {{pic.width}}px; height: {{pic.height}}px;">
+
+ {% endthumbnail %}
+
{% endblock %}
{% block footer %}
-{{ picture.html_file.read|safe }}
-
-
-
+ {{ picture.html_file.read|safe }}
+
+
+
{% book_info picture %}
-
-
-
- {% ssi_include 'picture_short' pk=picture.pk %}
-
+
+
+ {% include 'picture/picture_short.html' %}
+
{% endblock %}