<% post.time|html>
<% post.sone.id|html>
-
+
<% post.sone.local>
+ <%include include/soneMenu.html class=="sone-post-menu" sone=post.sone>
+
<%if post.loaded>
-
+ <%ifnull !post.sone.profile.avatar>
+ <%post.sone.profile.avatar|build-id sone=post.sone|image-link max-width==48 max-height==48 mode==enlarge title=="Avatar Image">
+ <%else>
+
+ <%/if>
<%else>
<%/if>
@@ -12,19 +18,32 @@
class="hidden"<%/if>>
- <%ifnull !post.recipient>
+ <%if post.recipientId.present>
â
- <%ifnull post.recipient.identity>
-
+ <%if !post.recipient.present>
+
<%else>
-
+
<%/if>
<%/if>
- <% post.text|html|store key=originalText text=true>
- <% post.text|parse sone=post.sone|store key=parsedText text=true>
+ <% post.text|html|store key==originalText text==true>
+ <% post.text|parse sone=post.sone|store key==parts>
+ <% parts|render|store key==parsedText text==true>
+ <% parts|render length=core.preferences.charactersPerPost cut-off-length=core.preferences.postCutOffLength|store key==shortText text==true>
<% originalText>
-
<% parsedText>
+
<% parsedText>
+
<% shortText>
+ <%if !shortText|match value=parsedText><%if !raw>
<%= View.Post.ShowMore|l10n|html><%/if><%/if>
+ <%if !shortText|match value=parsedText><%if !raw>
<%= View.Post.ShowLess|l10n|html><%/if><%/if>
+ <%foreach parts part>
+ <%if part.class.simpleName|match value==AlbumPart>
+ <% part.album.images.random|store key==image>
+
+ <%include include/viewAlbum.html album=part.album>
+
+ <%/if>
+ <%/foreach>
·
-
- <%if ! originalText|match key=parsedText>
+
+
·
+
+
·
+
+ <%if ! originalText|match value=parsedText>
·
<%/if>
-
+
·
â<% post.likes.size>
@@ -67,25 +90,27 @@
<%if !post.sone.current>
-
·
-
-
-
+ <%ifnull !post.sone.trust>
+
·
+
+
+
+ <%/if>
<%/if>
<%/if>
<%if post.sone.local>
@@ -119,7 +144,7 @@
-
+