Use Sone view.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Tue, 19 Oct 2010 19:38:31 +0000 (21:38 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Tue, 19 Oct 2010 19:38:31 +0000 (21:38 +0200)
src/main/resources/templates/viewSone.html

index 9485ca1..71fba4f 100644 (file)
 
        <%else>
 
-               <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.niceName|html></h1>
-
-               <%if ! sone.current>
-                       <%if sone.friend>
-                               <div><a href="unfollowSone.html?sone=<% sone.id>"><%= Page.ViewSone.UnfollowSone.Text|l10n|html></a></div>
-                       <%else>
-                               <div><a href="followSone.html?sone=<% sone.id>"><%= Page.ViewSone.FollowSone.Text|l10n|html></a></div>
-                       <%/if>
-               <%/if>
+               <%include include/viewSone.html>
 
                <div id="posts">
                        <%foreach sone.posts post>