From: David ‘Bombe’ Roden <bombe@pterodactylus.net>
Date: Sat, 16 Oct 2010 00:57:24 +0000 (+0200)
Subject: Link date to “view post” page.
X-Git-Tag: 0.1-RC1~300
X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=4388eb3b15fccdb6891da15b7e61731b5ae8a9d6;p=Sone.git

Link date to “view post” page.
---

diff --git a/src/main/resources/templates/index.html b/src/main/resources/templates/index.html
index c18a99d..9573b9d 100644
--- a/src/main/resources/templates/index.html
+++ b/src/main/resources/templates/index.html
@@ -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">