From a22b5cf52ccb7fb0338f88ce2d184ba4e3ecd5b7 Mon Sep 17 00:00:00 2001 From: Ben Hutchings Date: Sun, 16 Sep 2007 23:35:48 +0000 Subject: [PATCH] Added patch to fix generation of thumbnail URIs in templates. --- debian/patches/102_fix-uris.diff | 88 ++++++++++++++++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 89 insertions(+) create mode 100644 debian/patches/102_fix-uris.diff diff --git a/debian/patches/102_fix-uris.diff b/debian/patches/102_fix-uris.diff new file mode 100644 index 0000000..8e79469 --- /dev/null +++ b/debian/patches/102_fix-uris.diff @@ -0,0 +1,88 @@ +--- trunk.orig/templates/album/list ++++ trunk/templates/album/list +@@ -8,7 +8,7 @@ + [% FOR album = minilist %] + + [% album %]
+-

++
+ + [%album.photos.size %] + photo[%-"s" IF album.photos.size != 1 %] +--- trunk.orig/templates/custom/list ++++ trunk/templates/custom/list +@@ -8,7 +8,7 @@ + [% FOR object = minilist %] + + [% object %]
+-

++
+ + [%object.photos.size %] + photo[%-"s" IF object.photos.size != 1 %] +--- trunk.orig/templates/macros ++++ trunk/templates/macros +@@ -2,7 +2,7 @@ + + +
+ +- [%photo.title|html%] ++ [%photo.title|html%] + +
+--- trunk.orig/templates/nav ++++ trunk/templates/nav +@@ -4,7 +4,7 @@ + + [% FOR photo = request.recent_uploads %] + +- [%photo.title|html%] ++ [%photo.title|html%] + + [% END %] +
+--- trunk.orig/templates/recent.rss ++++ trunk/templates/recent.rss +@@ -12,7 +12,7 @@ + + [% FILTER html %] + +- [%photo.title|html%] ++ [%photo.title|html%] + + [% END %] + +--- trunk.orig/templates/systemtag/list ++++ trunk/templates/systemtag/list +@@ -14,7 +14,7 @@ + [% IF photos.last %] + + +- ++ + + + +--- trunk.orig/templates/tag/list ++++ trunk/templates/tag/list +@@ -14,7 +14,7 @@ + [% IF photos.last %] + + +- ++ + + + +--- trunk.orig/templates/user/list ++++ trunk/templates/user/list +@@ -10,7 +10,7 @@ + [% SET photos = user.photos %] + [% user %]
+ [% IF photos.last %] +-

++
+ + [%photos.size %] + photo[%-"s" IF photos.size != 1 %] diff --git a/debian/patches/series b/debian/patches/series index df3b4aa..30a4a70 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,2 +1,3 @@ 101_remove-ancc-refs.diff +102_fix-uris.diff 201_use-debian-paths.diff -- 2.39.2