X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2FviewSone.html;h=fac920b66600935cdcf2226d4b333ab5b4de9031;hb=b4d6f813ec6537b1e5fc41013ff73062551c29fa;hp=1054e0177f4f7368997bd3ea1e925351c81c18bd;hpb=bc29afc8fdd96b8c80c767148a917034c124d93e;p=Sone.git diff --git a/src/main/resources/templates/viewSone.html b/src/main/resources/templates/viewSone.html index 1054e01..fac920b 100644 --- a/src/main/resources/templates/viewSone.html +++ b/src/main/resources/templates/viewSone.html @@ -7,7 +7,7 @@

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

-

<%= Page.ViewSone.NoSone.Description|l10n|insert needle="{sone}" key=sone.id|html>

+

<%= Page.ViewSone.NoSone.Description|l10n|replace needle="{sone}" replacementKey=sone.id|html>

<%elseifnull sone.name> @@ -25,13 +25,13 @@
<%= Page.ViewSone.Profile.Label.Name|l10n|html>
-
<% sone.niceName|html>
+
<% sone.niceName|html>
<%foreach sone.profile.fields field>
-
<% field.key|html>
-
<% field.value|html>
+
<% field.name|html>
+
<% field.value|parse>
<%/foreach> @@ -47,11 +47,11 @@ <%/if> -

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

+

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

- <%getpage parameter=postPage> - <%paginate list=sone.posts pagesize=25> + <%:getpage parameter=postPage> + <%:paginate list=sone.posts pagesize=25> <%= postPage|store key=pageParameter> <%include include/pagination.html> <%foreach pagination.items post>