2017-07-03 08:14:07 +00:00
|
|
|
{% extends "photologue:photologue/photo_detail.html" %}
|
|
|
|
{% load photologue_tags i18n %}
|
|
|
|
|
|
|
|
{% block title %}{{ object.title }}{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
2017-12-23 13:24:23 +00:00
|
|
|
<div class="row">
|
|
|
|
<div class="medium-9 columns">
|
|
|
|
<img src="{{ object.get_display_url }}" alt="{{ object.title }}">
|
|
|
|
<p>
|
|
|
|
{{ object.caption|safe }}
|
|
|
|
{% if object.caption %}<br>{%endif%}
|
2023-08-09 09:45:13 +00:00
|
|
|
<a href="{{ object.image.url }}" class="original-link" target="_blank" >Link to original file</a>
|
2017-12-23 13:24:23 +00:00
|
|
|
</p>
|
|
|
|
<ul>
|
|
|
|
{% for gallery in object.public_galleries %}
|
2017-12-23 12:19:35 +00:00
|
|
|
{% if gallery.content.exists %}
|
2017-12-23 13:24:23 +00:00
|
|
|
<li><a href="{{ gallery.content.all.0.get_absolute_url }}">{{ gallery.content.all.0.title }}</a></li>
|
2017-12-23 12:19:35 +00:00
|
|
|
{% endif %}
|
2017-12-23 13:24:23 +00:00
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
2017-07-03 08:14:07 +00:00
|
|
|
</div>
|
2017-12-23 13:24:23 +00:00
|
|
|
</div>
|
2017-12-19 18:30:20 +00:00
|
|
|
{% endblock %}
|