Set variables in parent template context, too.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 11 Mar 2011 23:46:34 +0000 (00:46 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 11 Mar 2011 23:46:34 +0000 (00:46 +0100)
src/main/resources/templates/bookmarks.html

index af592db..4657d20 100644 (file)
@@ -8,10 +8,10 @@
                <%include include/pagination.html>
                <%foreach posts post>
                        <%if post.loaded>
-                               <%= true|store key=postShown>
+                               <%= true|store key=postShown parent=true>
                                <%include include/viewPost.html>
                        <%else>
-                               <%= true|store key=postNotLoaded>
+                               <%= true|store key=postNotLoaded parent=true>
                        <%/if>
                <%/foreach>
                <%if postNotLoaded>