From 1ca988b177834467671137c94f17a5948b465f6f Mon Sep 17 00:00:00 2001 From: Mario Date: Wed, 15 Feb 2023 09:41:48 +0000 Subject: revisit author_id and fix issue with pinned content --- view/tpl/conv_item.tpl | 2 +- view/tpl/conv_list.tpl | 2 +- view/tpl/pinned_item.tpl | 54 ++++++++++++++---------------------------------- view/tpl/search_item.tpl | 2 +- 4 files changed, 19 insertions(+), 41 deletions(-) (limited to 'view/tpl') diff --git a/view/tpl/conv_item.tpl b/view/tpl/conv_item.tpl index aa10e53ff..8e66aa505 100644 --- a/view/tpl/conv_item.tpl +++ b/view/tpl/conv_item.tpl @@ -55,7 +55,7 @@ {{/if}} {{$item.name}}{{if $item.owner_url}} {{$item.via}} {{$item.owner_name}}{{/if}}
- {{$item.linktitle}} + {{$item.author_id}}
diff --git a/view/tpl/conv_list.tpl b/view/tpl/conv_list.tpl index e3d5961ec..350b1c328 100644 --- a/view/tpl/conv_list.tpl +++ b/view/tpl/conv_list.tpl @@ -55,7 +55,7 @@
{{/if}} {{$item.name}}{{if $item.owner_url}} {{$item.via}} {{$item.owner_name}}{{/if}}
- {{$item.linktitle}} + {{$item.author_id}}
diff --git a/view/tpl/pinned_item.tpl b/view/tpl/pinned_item.tpl index 09cc770a6..ece386b72 100644 --- a/view/tpl/pinned_item.tpl +++ b/view/tpl/pinned_item.tpl @@ -1,15 +1,4 @@ -{{if $hide}} - -{{/if}} -
+
{{if $photo}} @@ -40,29 +29,6 @@
{{/if}} {{/if}} - -
@@ -79,7 +45,7 @@
{{$name}}{{if $owner_url}} {{$via}} {{$owner_name}}{{/if}}
- {{$linktitle}} + {{$author_id}}
@@ -102,8 +68,6 @@
- - {{if $divider}}
{{/if}} @@ -238,3 +202,17 @@
+{{if $hide}} + +{{/if}} + diff --git a/view/tpl/search_item.tpl b/view/tpl/search_item.tpl index 821ecf699..70c030b19 100644 --- a/view/tpl/search_item.tpl +++ b/view/tpl/search_item.tpl @@ -49,7 +49,7 @@
{{/if}} {{$item.name}}{{if $item.owner_url}} {{$item.via}} {{$item.owner_name}}{{/if}}
- {{$item.linktitle}} + {{$item.author_id}}
-- cgit v1.2.3