aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/search_item.tpl
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2024-08-02 16:02:29 +0000
committerMario <mario@mariovavti.com>2024-08-02 16:02:29 +0000
commit56cb6f1034b36dca0cd91bc51c491bb2fe5809ef (patch)
tree440443af190841dd47decb33d4678dbf71d8ae91 /view/tpl/search_item.tpl
parent7eb23aa8b8d161a74ea59bc4c6eef5357fe6b1c0 (diff)
downloadvolse-hubzilla-56cb6f1034b36dca0cd91bc51c491bb2fe5809ef.tar.gz
volse-hubzilla-56cb6f1034b36dca0cd91bc51c491bb2fe5809ef.tar.bz2
volse-hubzilla-56cb6f1034b36dca0cd91bc51c491bb2fe5809ef.zip
streamline location rendering
Diffstat (limited to 'view/tpl/search_item.tpl')
-rw-r--r--view/tpl/search_item.tpl8
1 files changed, 4 insertions, 4 deletions
diff --git a/view/tpl/search_item.tpl b/view/tpl/search_item.tpl
index 8d76f6ac4..07d20b9ec 100644
--- a/view/tpl/search_item.tpl
+++ b/view/tpl/search_item.tpl
@@ -23,14 +23,14 @@
<div class="p-2 wall-item-head{{if !$item.title && !$item.event && !$item.photo}} rounded-top{{/if}}{{if $item.is_new && !$item.event && !$item.is_comment}} wall-item-head-new{{/if}}" >
<div class="lh-sm text-end float-end">
<div class="wall-item-ago opacity-75" id="wall-item-ago-{{$item.id}}">
- {{if $item.editedtime}}
- <i class="bi bi-pencil"></i>
+ {{if $item.location}}
+ {{$item.location}}
{{/if}}
{{if $item.delayed}}
<i class="bi bi-clock"></i>
{{/if}}
- {{if $item.location}}
- <small class="wall-item-location p-location" id="wall-item-location-{{$item.id}}">{{$item.location}}</small>
+ {{if $item.editedtime}}
+ <i class="bi bi-pencil"></i>
{{/if}}
{{if $item.verified}}
<i class="bi bi-shield-check" title="{{$item.verified}}"></i>