diff gpp/templates/potd/potd_block.html @ 1:dbd703f7d63a

Initial import of sg101 stuff from private repository.
author gremmie
date Mon, 06 Apr 2009 02:43:12 +0000
parents
children f43f8a956f1d
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gpp/templates/potd/potd_block.html	Mon Apr 06 02:43:12 2009 +0000
@@ -0,0 +1,12 @@
+{% extends 'side_block.html' %}
+{% block block_title %}Photo of the Day{% endblock %}
+{% block block_content %}
+{% if potd %}
+<center>
+<img src="{{ potd.thumb.url }}" alt="{{ potd.caption }}" title="{{ potd.caption }}" /><br />
+<a href="{% url potd-view %}">{{ potd.caption }}</a>
+</center>
+{% else %}
+<p>No photo at this time.</p>
+{% endif %}
+{% endblock %}