X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2FviewSone.html;h=fac920b66600935cdcf2226d4b333ab5b4de9031;hb=b4d6f813ec6537b1e5fc41013ff73062551c29fa;hp=92c9b37cb3a9631963d1ac6d204bff0eca3dd896;hpb=8c251a1b15c1d8a8a2766e55e6decf10e9330bbe;p=Sone.git
diff --git a/src/main/resources/templates/viewSone.html b/src/main/resources/templates/viewSone.html
index 92c9b37..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>
@@ -24,14 +24,14 @@
<%= Page.ViewSone.Profile.Title|l10n|html>
-
<%= Page.ViewSone.Profile.Label.Name|l10n|html>
-
<% sone.niceName|html>
+
<%= Page.ViewSone.Profile.Label.Name|l10n|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>