X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2FviewSone.html;h=75c0337facbd511953a7438cc52f23fed2170b06;hb=18f07325f79a3b93cee8d5f1a53adc0dbb7f1e1d;hp=84c9c51e8903fe486cf63189dc772c09a05b0e6c;hpb=1c57e8be327fe76dbc82ba438bcaeb4023259e71;p=Sone.git diff --git a/src/main/resources/templates/viewSone.html b/src/main/resources/templates/viewSone.html index 84c9c51..75c0337 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,16 +14,8 @@ <%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.friend> -
<%= Page.ViewSone.UnfollowSone.Text|l10n|html>
- <%else> -
<%= Page.ViewSone.FollowSone.Text|l10n|html>
- <%/if> + <%if ! sone.current> + <%include include/viewSone.html> <%/if>
@@ -33,6 +31,8 @@
<%foreach sone.friends sone> <%include include/viewSone.html> + <%foreachelse> +
<%= Page.ViewSone.Following.FollowingNone.Text|l10n|html>
<%/foreach>