From d9f51299809bfb6b3ac589b7c42016d0ef240299 Mon Sep 17 00:00:00 2001 From: lxf Date: Sat, 6 Nov 2021 09:42:47 -0400 Subject: moved templates to top level directory --- design/templates/details/photo_gallery.html | 67 ----------------------------- 1 file changed, 67 deletions(-) delete mode 100644 design/templates/details/photo_gallery.html (limited to 'design/templates/details/photo_gallery.html') diff --git a/design/templates/details/photo_gallery.html b/design/templates/details/photo_gallery.html deleted file mode 100644 index be25326..0000000 --- a/design/templates/details/photo_gallery.html +++ /dev/null @@ -1,67 +0,0 @@ -{% extends 'base.html' %} -{% load typogrify_tags %} -{% load get_image_by_size %} -{% load number_to_word %} - -{% block pagetitle %}{{object.title}} - Luxagraf, Photos{% endblock %} -{%block htmlclass%}class="black"{%endblock%} - - -{% block metadescription %}{{object.description|truncatewords:30|smartypants|safe}}{% endblock %} - -{% block extrahead %} - - -{% endblock %} -{%block bodyid%}class="image_gallery"{%endblock%} - -{% block primary %} -

Use left/right arrow keys to navigate through photos

-
-

Photos from {{object.title}}

{%for photo in object.images.all reversed %} -
-
-
- {% if not photo.is_video %}{%endif%} - {% if photo.is_video %} - {% else %} - 720 and size.width < 2000 %}src="{% get_image_by_size photo size.width %}"{%endif%}{%endspaceless%}{%endfor%} alt="{% if photo.alt %}{{photo.alt}}{%else%}{{photo.title}}{%endif%}" p="{{photo.is_portait}}" {%if photo.is_portait %}class="v"{%endif%} > - {%endif%}{% if not photo.is_video %}{%endif%} -
-
-

{{photo.title}}

- - {% if object.is_public %}{%if object.latitude %}Map{%endif%}{%endif%} - {%if photo.caption%}

{{photo.caption|safe}}

{%endif%} -
-
- {% if object.is_public %}

{% if photo.exif_make == 'Canon'%}{{photo.exif_model}}{%endif%}{% if photo.exif_model == 'DMC-LX2'%}{{photo.exif_make}} {{photo.exif_model}}{%endif%}{%if photo.exif_model == 'DMC-GF1' %}Panasonic GF1 with {%endif%} {%if photo.exif_lens == 'LUMIX G VARIO 14-45/F3.5-5.6' %}Lumix 14-45mm lens{%endif%}{%if photo.exif_lens == 'LUMIX G 20/F1.7' %}Lumix 20mm lens{%endif%}{%if photo.exif_lens == 'LUMIX G VARIO 45-200/F4.0-5.6' %}Lumix 45-200mm lens{%endif%}{%if photo.exif_lens == 'OLYMPUS M.9-18mm F4.0-5.6' %}Olympus 9-18mm lens{%endif%}{%if photo.exif_lens == None %}{%endif%}

-

{{photo.exif_exposure}} sec at f/{{photo.exif_aperture}}, ISO {{photo.exif_iso}}

{% endif %} - - -
-
-
-
- {% endfor %} -{%endblock%} - -{% block js %} - - - -{% endblock%} - - -- cgit v1.2.3-70-g09d2