Make photo albums work
[sommitrealweird.git] / sommitrealweird / photo / templates / photo / static / gitweb.js
diff --git a/sommitrealweird/photo/templates/photo/photo.html b/sommitrealweird/photo/templates/photo/photo.html
deleted file mode 100644 (file)
index 5a0e04b..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-{% extends "base.html" %}
-{% load thumbnail %}
-
-{% block title %}Photos - {{ object.album.title }} - {{ object.caption }}{% endblock %}
-
-{% block content %}
-    <div class="single_photo">
-        <a href="{{ object.image.url }}"><img src='{{ object.image.url|thumbnail:"width=500" }}' alt="{{ object.caption }}" /></a>
-        {% if object.caption %}
-        <p>{{ object.caption }}</p>
-        {% endif %}
-    </div>
-    <div style="clear: both;">&nbsp;</div>
-    {% if prev_photo or next_photo%}
-        <p class="paginator">
-            {% if prev_photo %}
-                <a href="/photo/{{ object.album.slug }}/{{ prev_photo.id }}/">Previous</a>
-            {% endif %}
-            {% if next_photo %}
-                <a href="/photo/{{ object.album.slug }}/{{ next_photo.id }}/">Next</a>
-            {% endif %}
-        </p>
-    {% endif %}
-{% endblock %}