{% extends "stockphoto/base.html" %} {% block title %} Fotos: {% if object %} {{ object.title }} {% endif %} {% endblock %} {% block content %} {% if object %}

{{ object.title }}

{% if object.photo_set.count %}
{% else %}

There are no photos in this gallery. If you just uploaded a batch of photos, try hitting your browser's reload button to see if they show up.

{% endif %}
{% if not user.is_anonymous %}

Edit this gallery.
Add a photo to this gallery.
Add a bunch of photos to this gallery.

{% else %}

{% endif %} {% else %}

This is not the gallery you are looking for.

{% endif %} {% endblock %}