From 21b398252aaf28d9ff8045fbe3e9fcb162a6f447 Mon Sep 17 00:00:00 2001 From: Max Kostikov Date: Wed, 4 Dec 2019 03:44:24 +0100 Subject: Add content pinning support --- view/tpl/pinned_item.tpl | 196 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 196 insertions(+) create mode 100644 view/tpl/pinned_item.tpl (limited to 'view/tpl/pinned_item.tpl') diff --git a/view/tpl/pinned_item.tpl b/view/tpl/pinned_item.tpl new file mode 100644 index 000000000..0dad276d0 --- /dev/null +++ b/view/tpl/pinned_item.tpl @@ -0,0 +1,196 @@ +{{if $hide}} + +{{/if}} +
+
+
+ {{if $photo}} +
+ {{$photo}} +
+ {{/if}} + {{if $event}} +
+ {{$event}} +
+ {{/if}} + {{if $title && !$event}} +
+ {{if $title_tosource}} + {{if $plink}} + + {{/if}} + {{/if}} + {{$title}} + {{if $title_tosource}} + {{if $plink}} + + {{/if}} + {{/if}} +
+ {{if ! $is_new}} +
+ {{/if}} + {{/if}} +
+   +
+
+ {{$name}} + {{if $thread_author_menu}} + + + {{/if}} +
+
+
+ {{$name}}{{if $owner_url}} {{$via}} {{$owner_name}}{{/if}} +
+
+ {{if $verified}} {{elseif $forged}} {{/if}}{{if $location}}{{$location}}, {{/if}}{{if $editedtime}} {{$editedtime}}{{/if}}{{if $expiretime}} {{$expiretime}}{{/if}}{{if $editedtime}} {{/if}} {{if $app}}{{$str_app}}{{/if}} +
+
+ {{if $divider}} +
+ {{/if}} + {{if $body}} +
+
+ {{$body}} +
+
+ {{/if}} + {{if $has_tags}} +
+
+ {{$mentions}} {{$tags}} {{$categories}} {{$folders}} +
+
+ {{/if}} +
+
+
+
+
+
+
+
+ {{if $isevent}} + + {{/if}} + {{if $canvote}} + + {{/if}} +
+ + +
+
+
+ {{if $responses || $attachments}} +
+ {{if $attachments}} +
+
+ + +
+
+ {{/if}} + {{foreach $responses as $verb=>$response}} + {{if $response.count}} +
+ + {{if $response.modal}} + + {{else}} + + {{/if}} +
+ {{/if}} + {{/foreach}} +
+ {{/if}} +
+
+
+
-- cgit v1.2.3