Use nice name where appropriate.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Thu, 14 Oct 2010 13:36:51 +0000 (15:36 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Thu, 14 Oct 2010 13:36:51 +0000 (15:36 +0200)
src/main/resources/templates/index.html
src/main/resources/templates/viewSone.html

index dc0b98b..4110320 100644 (file)
@@ -19,7 +19,7 @@
        <div id="posts">
                <%foreach posts post>
                        <div class="post">
-                               <div class="author"><a href="viewSone.html?sone=<% post.sone.id>"><% post.sone.name|html></a></div>
+                               <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>
index a984ce5..21bd83c 100644 (file)
@@ -8,14 +8,14 @@
 
        <%else>
 
-               <h1></h1><%= Page.ViewSone.Page.TitleWithSone|l10n|insert needle="{sone}" key=sone.name|html></h1>
+               <h1></h1><%= Page.ViewSone.Page.TitleWithSone|l10n|insert needle="{sone}" key=sone.niceName|html></h1>
 
-               <h1><%= Page.ViewSone.PostList.Title|l10n|insert needle="{sone}" key=sone.name|html></h1>
+               <h1><%= Page.ViewSone.PostList.Title|l10n|insert needle="{sone}" key=sone.niceName|html></h1>
 
                <div id="posts">
                        <%foreach sone.posts post>
                                <div class="post">
-                                       <div class="author"><a href="viewSone.html?sone=<% post.sone.id>"><% post.sone.name|html></a></div>
+                                       <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>