summaryrefslogtreecommitdiff
path: root/templates/details/photo_galleries.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/details/photo_galleries.html')
-rw-r--r--templates/details/photo_galleries.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/details/photo_galleries.html b/templates/details/photo_galleries.html
index 8c1e097..04e1088 100644
--- a/templates/details/photo_galleries.html
+++ b/templates/details/photo_galleries.html
@@ -16,7 +16,7 @@
<link rel="stylesheet"
- href="{{media_url}}css/photos.css"
+ href="{{MEDIA_URL}}css/photos.css"
type="text/css"
media="screen">
@@ -81,9 +81,9 @@
<div class="meta" style="display: none;">
<dl>
<dt>Camera:</dt>
- <dd>{% ifequal photo.exif_make 'Canon'%}{{photo.exif_model}}{%endifequal%}{% ifequal photo.exif_model 'DMC-LX2'%}{{photo.exif_make}} {{photo.exif_model}}{%endifequal%}{%ifequal photo.exif_model 'DMC-GF1' %}<a href="http://amzn.to/cLQozJ" title="Buy on Amazon">{{photo.exif_make}} {{photo.exif_model}}</a>{%endifequal%}</dd>
+ <dd>{% 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' %}<a href="http://amzn.to/cLQozJ" title="Buy on Amazon">{{photo.exif_make}} {{photo.exif_model}}</a>{%endif%}</dd>
<dt>Lens: </dt>
- <dd>{%ifequal photo.exif_lens 'LUMIX G VARIO 14-45/F3.5-5.6' %}<a href="http://amzn.to/azIr5w" title="buy the {{photo.exif_lens}} on Amazon">{{photo.exif_lens}}</a>{%endifequal%}{%ifequal photo.exif_lens 'LUMIX G 20/F1.7' %}<a href="http://amzn.to/daMYOm" title="buy the {{photo.exif_lens}} on Amazon">{{photo.exif_lens}}</a>{%endifequal%}{%ifequal photo.exif_lens '' %}Built-in{%endifequal%}</dd>
+ <dd>{%if photo.exif_lens == 'LUMIX G VARIO 14-45/F3.5-5.6' %}<a href="http://amzn.to/azIr5w" title="buy the {{photo.exif_lens}} on Amazon">{{photo.exif_lens}}</a>{%endif%}{%if photo.exif_lens == 'LUMIX G 20/F1.7' %}<a href="http://amzn.to/daMYOm" title="buy the {{photo.exif_lens}} on Amazon">{{photo.exif_lens}}</a>{%endif%}{%if photo.exif_lens =='' %}Built-in{%endif%}</dd>
<dt>Exposure</dt>
<dd>{{photo.exif_exposure}}</dd>
<dt>Aperture</dt>