diff options
Diffstat (limited to 'include/conversation.php')
-rw-r--r-- | include/conversation.php | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/include/conversation.php b/include/conversation.php index e4b39d5b1..b3ba96a82 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -1467,14 +1467,18 @@ function render_location_default($item) { $location = $item['location']; $coord = $item['coord']; - if($coord) { + if ($coord) { if($location) - $location .= ' <span class="smalltext">(' . $coord . ')</span>'; + $location .= ' (' . $coord . ')'; else - $location = '<span class="smalltext">' . $coord . '</span>'; + $location = $coord; } - return $location; + if (!$location) { + return ''; + } + + return '<i class="bi bi-geo-alt" title="' . $location . '"></i>'; } |