diff options
author | Mario <mario@mariovavti.com> | 2024-08-02 16:02:29 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2024-08-02 16:02:29 +0000 |
commit | 56cb6f1034b36dca0cd91bc51c491bb2fe5809ef (patch) | |
tree | 440443af190841dd47decb33d4678dbf71d8ae91 /view/tpl | |
parent | 7eb23aa8b8d161a74ea59bc4c6eef5357fe6b1c0 (diff) | |
download | volse-hubzilla-56cb6f1034b36dca0cd91bc51c491bb2fe5809ef.tar.gz volse-hubzilla-56cb6f1034b36dca0cd91bc51c491bb2fe5809ef.tar.bz2 volse-hubzilla-56cb6f1034b36dca0cd91bc51c491bb2fe5809ef.zip |
streamline location rendering
Diffstat (limited to 'view/tpl')
-rw-r--r-- | view/tpl/conv_item.tpl | 8 | ||||
-rw-r--r-- | view/tpl/conv_list.tpl | 8 | ||||
-rw-r--r-- | view/tpl/jot.tpl | 8 | ||||
-rw-r--r-- | view/tpl/search_item.tpl | 8 |
4 files changed, 16 insertions, 16 deletions
diff --git a/view/tpl/conv_item.tpl b/view/tpl/conv_item.tpl index b0077e09b..af212608a 100644 --- a/view/tpl/conv_item.tpl +++ b/view/tpl/conv_item.tpl @@ -29,14 +29,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}} clearfix"> <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> diff --git a/view/tpl/conv_list.tpl b/view/tpl/conv_list.tpl index 3188433d3..388a952f2 100644 --- a/view/tpl/conv_list.tpl +++ b/view/tpl/conv_list.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> diff --git a/view/tpl/jot.tpl b/view/tpl/jot.tpl index 965cd975c..4eee6f1ac 100644 --- a/view/tpl/jot.tpl +++ b/view/tpl/jot.tpl @@ -138,12 +138,12 @@ <div class="btn-group me-2 d-none d-lg-flex"> {{if $setloc}} <button type="button" id="profile-location-wrapper" class="btn btn-outline-secondary btn-sm border-0" title="{{$setloc}}" onclick="jotGetLocation();return false;"> - <i id="profile-location" class="bi bi-geo-fill jot-icons"></i> + <i id="profile-location" class="bi bi-geo-alt-fill jot-icons"></i> </button> {{/if}} {{if $clearloc}} <button type="button" id="profile-nolocation-wrapper" class="btn btn-outline-secondary btn-sm border-0" title="{{$clearloc}}" onclick="jotClearLocation();return false;" disabled="disabled"> - <i id="profile-nolocation" class="bi bi-geo jot-icons"></i> + <i id="profile-nolocation" class="bi bi-geo-alt jot-icons"></i> </button> {{/if}} {{else}} @@ -193,10 +193,10 @@ <a class="dropdown-item" href="#" onclick="initializeEmbedPhotoDialog(); return false;"><i class="bi bi-file-image jot-icons"></i> {{$embedPhotos}}</a> {{/if}} {{if $setloc}} - <a class="dropdown-item" href="#" onclick="jotGetLocation(); return false;"><i class="bi bi-geo-fill"></i> {{$setloc}}</a> + <a class="dropdown-item" href="#" onclick="jotGetLocation(); return false;"><i class="bi bi-geo-alt-fill"></i> {{$setloc}}</a> {{/if}} {{if $clearloc}} - <a class="dropdown-item" href="#" onclick="jotClearLocation(); return false;"><i class="bi bi-geo"></i> {{$clearloc}}</a> + <a class="dropdown-item" href="#" onclick="jotClearLocation(); return false;"><i class="bi bi-geo-alt"></i> {{$clearloc}}</a> {{/if}} {{/if}} {{if $feature_expire}} 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> |