Use nice name where appropriate.
[Sone.git] / src / main / resources / templates / index.html
index 7aa558b..4110320 100644 (file)
 
        <h1><%= Page.Index.PostList.Title|l10n|html></h1>
 
-       <div>
+       <div id="posts">
                <%foreach posts post>
-                       <div>
-                               <div class="author"><% post.sone.name|html></div>
+                       <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>