<h1><%= Page.ViewSone.PostList.Title|l10n|insert needle="{sone}" key=sone.niceName|html></h1>
- <%if ! sone.isCurrent>
- <%if sone.isFriend>
+ <%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>
<h1><%= Page.ViewSone.Following.Title|l10n|html></h1>
<div id="following">
- <%foreach sone.friends friend>
- <%first>
- <ul>
- <%/first>
- <li><a href="viewSone.html?sone=<% friend.id>"><% friend.niceName|html></a> (<% friend.requestUri|html>)</li>
- <%last>
- </ul>
- <%/last>
- <%foreachelse>
- <div><%= Page.ViewSone.Following.FollowingNone.Text|l10n|html></div>
+ <%foreach sone.friends sone>
+ <%include include/viewSone.html>
<%/foreach>
</div>