Small display fixes, add link to other Sone.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Thu, 14 Oct 2010 12:52:35 +0000 (14:52 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Thu, 14 Oct 2010 12:52:35 +0000 (14:52 +0200)
src/main/resources/static/css/sone.css
src/main/resources/templates/index.html

index 6b3d0f1..35fd2e7 100644 (file)
        color: red;
        font-weight: bold;
 }
+
+#sone .post .author {
+       display: inline;
+       font-weight: bold;
+}
+
+#sone .post .text {
+       display: inline;
+}
index 7aa558b..e56e5d6 100644 (file)
@@ -18,8 +18,8 @@
 
        <div>
                <%foreach posts post>
-                       <div>
-                               <div class="author"><% post.sone.name|html></div>
+                       <div class="post">
+                               <div class="author"><a href="viewProfile?sone=<% post.sone.id>"><% post.sone.name|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>