You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
1.2 KiB
35 lines
1.2 KiB
{% extends "photologue/root.html" %}
|
|
{% load i18n %}
|
|
|
|
{% block title %}{% trans "All Galleries" %}{% endblock %}
|
|
|
|
{% block content %}
|
|
|
|
<div class="row page-header">
|
|
<div class="col-lg-12">
|
|
<h1>{% trans "All Galleries" %}</h1>
|
|
</div>
|
|
</div>
|
|
|
|
{% if object_list %}
|
|
{% for gallery in object_list %}
|
|
<div class="row">
|
|
<div class="col-lg-12">
|
|
<h2><a href="{{ gallery.get_absolute_url }}">{{ gallery.title }}</a></h2>
|
|
<p class="muted"><small>{% trans "Published" %} {{ gallery.date_added }}</small></p>
|
|
{% if gallery.description %}<p>{{ gallery.description|safe }}</p>{% endif %}
|
|
{% for photo in gallery.sample %}
|
|
<a href="{{ photo.get_absolute_url }}">
|
|
<img src="{{ photo.get_thumbnail_url }}" class="thumbnail" alt="{{ photo.title }}">
|
|
</a>
|
|
{% endfor %}
|
|
</div>
|
|
</div>
|
|
{% endfor %}
|
|
{% else %}
|
|
<div class="row">{% trans "No galleries were found" %}.</div>
|
|
{% endif %}
|
|
|
|
{% include "photologue/includes/paginator.html" %}
|
|
|
|
{% endblock %}
|
|
|