Link date to “view post” page.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sat, 16 Oct 2010 00:57:24 +0000 (02:57 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sat, 16 Oct 2010 00:57:24 +0000 (02:57 +0200)
src/main/resources/templates/index.html

index c18a99d..9573b9d 100644 (file)
@@ -31,7 +31,7 @@
                        <div class="post">
                                <div class="author"><a href="viewSone.html?sone=<% post.sone.id>"><% post.sone.niceName|html></a></div>
                                <div class="text"><% post.text|html></div>
-                               <div class="time"><% post.time|date format="MMM d, yyyy, HH:mm:ss"></div>
+                               <div class="time"><a href="viewPost.html?post=<% post.id>"><% post.time|date format="MMM d, yyyy, HH:mm:ss"></a></div>
                        </div>
                        <%foreach post.replies reply>
                                <div class="reply">