camp/content/templates/photologue/photo_detail.html

25 lines
825 B
HTML
Raw Normal View History

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 %}
<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>
</p>
<ul>
{% for gallery in object.public_galleries %}
2017-12-23 12:19:35 +00:00
{% if gallery.content.exists %}
<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 %}
{% endfor %}
</ul>
2017-07-03 08:14:07 +00:00
</div>
</div>
{% endblock %}