camp/content/templates/photologue/gallery_detail.html

19 lines
792 B
HTML
Raw Normal View History

2017-07-03 08:14:07 +00:00
{% extends "photologue:photologue/gallery_detail.html" %}
{% load i18n %}
{% block title %}{{ gallery.title }}{% endblock %}
{% block content %}
2017-12-23 12:19:35 +00:00
<div class="row col-lg-12">
2017-07-03 08:14:07 +00:00
<h1 class="page-header">{{ gallery.title }}</h1>
<p class="muted"><small>{% trans "Published" %} {{ gallery.date_added }}</small></p>
2017-07-03 08:14:07 +00:00
{% if gallery.description %}{{ gallery.description|safe }}{% endif %}
2017-12-23 12:19:35 +00:00
{% for photo in gallery.public %}
<a href="{{ photo.get_absolute_url }}">
<img src="{{ photo.get_thumbnail_url }}" class="thumbnail" alt="{{ photo.title }}">
</a>
{% endfor %}
2017-07-03 08:14:07 +00:00
<div><a href="{% url 'photologue:gallery-list' %}" class="btn btn-default">{% trans "View all galleries" %}</a></div>
2017-12-23 12:19:35 +00:00
</div>
{% endblock %}