From: David ‘Bombe’ Roden Date: Fri, 15 Oct 2010 04:38:42 +0000 (+0200) Subject: Add “this Sone follows” section to “view Sone.” X-Git-Tag: 0.1-RC1~346 X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=commitdiff_plain;h=4c63e5f4c4b0598e3c61bfaa09619923b95a8504 Add “this Sone follows” section to “view Sone.” --- diff --git a/src/main/resources/i18n/sone.en.properties b/src/main/resources/i18n/sone.en.properties index 9428a76..4cfa70c 100644 --- a/src/main/resources/i18n/sone.en.properties +++ b/src/main/resources/i18n/sone.en.properties @@ -73,6 +73,8 @@ Page.ViewSone.PostList.Title=Posts by “{sone}” Page.ViewSone.PostList.Text.NoPostYet=This Sone has not yet posted anything. Page.ViewSone.UnfollowSone.Text=Unfollow this Sone Page.ViewSone.FollowSone.Text=Follow this Sone +Page.ViewSone.Following.Title=This Sone follows +Page.ViewSone.Following.FollowingNone.Text=Apparently, this Sone does not yet follow any other Sone. Page.FollowSone.Title=Follow Sone - Sone diff --git a/src/main/resources/templates/viewSone.html b/src/main/resources/templates/viewSone.html index ab87a98..db6b2dd 100644 --- a/src/main/resources/templates/viewSone.html +++ b/src/main/resources/templates/viewSone.html @@ -31,6 +31,22 @@
<%= Page.ViewSone.PostList.Text.NoPostYet|l10n|html>
<%/foreach> + +

<%= Page.ViewSone.Following.Title|l10n|html>

+ +
+ <%foreach sone.friends friend> + <%first> + + <%/last> + <%foreachelse> +
<%= Page.ViewSone.Following.FollowingNone.Text|l10n|html>
+ <%/foreach> +
<%/if>