Created
September 8, 2008 21:40
-
-
Save aurelian/9547 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: templates/photo_view.html | |
=================================================================== | |
--- templates/photo_view.html (revision 11) | |
+++ templates/photo_view.html (working copy) | |
@@ -20,7 +20,7 @@ | |
<a href="{{ photo.get_previous_by_date.get_url }}" title="(click for previous image)"> | |
{% endif %} | |
<img id="image" src="{{ photo.get_file_url }}" alt="" /> | |
- {% if photo.get_previous_by_date.get_absolute_url %} | |
+ {% if photo.get_previous_by_date %} | |
</a> | |
{% endif %} | |
<span id='properties' style="display: none;"><table> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment