X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2FviewSone.html;h=27b156d1f339c494b4762f06fd275f0750e7e4a3;hb=134798ea6e5bc41b664e4180871d47059e450ce8;hp=fcb28910b7dc06d16fb03805372f26fcae4b507b;hpb=228ca4124110fe5b21aa60299987f45ce2ee6635;p=Sone.git
diff --git a/src/main/resources/templates/viewSone.html b/src/main/resources/templates/viewSone.html
index fcb2891..27b156d 100644
--- a/src/main/resources/templates/viewSone.html
+++ b/src/main/resources/templates/viewSone.html
@@ -1,6 +1,15 @@
<%include include/head.html>
- <%ifnull sone.name>
+
<%= Page.ViewSone.NoSone.Description|l10n|replace needle="{sone}" replacementKey=sone.id|html>
+
+ <%elseifnull sone.name>
- <%getpage parameter=postPage>
- <%paginate list=sone.posts pagesize=25>
- <%= postPage|store key=pageParameter>
- <%include include/pagination.html>
- <%foreach pagination.items post>
- <%include include/viewPost.html>
- <%foreachelse>
-
<%= Page.ViewSone.PostList.Text.NoPostYet|l10n|html>
+
<%= Page.ViewSone.Profile.Title|l10n|html>
+
+
+
<%= Page.ViewSone.Profile.Label.Name|l10n|html>
+
+
+
+ <%foreach sone.profile.fields field>
+
+
<% field.name|html>
+
<% field.value|parse>
+
<%/foreach>
- <%include include/pagination.html>
-
+
+ <%ifnull ! currentSone>
+ <%if ! sone.current>
+
+ <%/if>
+ <%/if>
+
+
+ <%include include/pagination.html pagination=postPagination pageParameter==postPage>
+ <%/first>
+ <%include include/viewPost.html>
+ <%last>
+ <%include include/pagination.html pagination=postPagination pageParameter==postPage>
+
+ <%/last>
+ <%foreachelse>
+
+ <%include include/pagination.html pagination=repliedPostPagination pageParameter==repliedPostPage>
+ <%/first>
+ <%include include/viewPost.html>
+ <%last>
+ <%include include/pagination.html pagination=repliedPostPagination pageParameter==repliedPostPage>
+
+ <%/last>
+ <%/foreach>
<%/if>