X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2FviewSone.html;h=a9b0a2103c76e10903e2fd4a294d75893dc27432;hb=5bff90389f6388de4f04e6795c18d2e3f760db39;hp=7b0647fc7b129a87519ffc28904f2d6e983938ed;hpb=a95d49d12c6cd9a6811128f4124cceb594ee324c;p=Sone.git diff --git a/src/main/resources/templates/viewSone.html b/src/main/resources/templates/viewSone.html index 7b0647f..a9b0a21 100644 --- a/src/main/resources/templates/viewSone.html +++ b/src/main/resources/templates/viewSone.html @@ -1,5 +1,11 @@ <%include include/head.html> + + <%ifnull sone.name>

<%= Page.ViewSone.Page.TitleWithoutSone|l10n|html>

@@ -8,20 +14,15 @@ <%else> -

<%= Page.ViewSone.Page.TitleWithSone|l10n|insert needle="{sone}" key=sone.niceName|html>

- -

<%= Page.ViewSone.PostList.Title|l10n|insert needle="{sone}" key=sone.niceName|html>

- - <%if ! sone.isCurrent> - <%if sone.isFriend> -
<%= Page.ViewSone.UnfollowSone.Text|l10n|html>
- <%else> -
<%= Page.ViewSone.FollowSone.Text|l10n|html>
- <%/if> + <%if ! sone.current> + <%include include/viewSone.html> <%/if>
<%foreach sone.posts post> + <%first> +

<%= Page.ViewSone.PostList.Title|l10n|insert needle="{sone}" key=sone.niceName|html>

+ <%/first> <%include include/viewPost.html> <%foreachelse>
<%= Page.ViewSone.PostList.Text.NoPostYet|l10n|html>
@@ -33,6 +34,8 @@
<%foreach sone.friends sone> <%include include/viewSone.html> + <%foreachelse> +
<%= Page.ViewSone.Following.FollowingNone.Text|l10n|html>
<%/foreach>