mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-19 23:55:19 +00:00
add appropriate icons to checkin/checkout rendered activities
This commit is contained in:
parent
5126156b80
commit
98b981af47
2 changed files with 7 additions and 2 deletions
|
@ -372,6 +372,11 @@ class ThreadItem
|
|||
$pinned_items = ($allowed_type ? get_pconfig($item['uid'], 'pinned', $item['item_type'], []) : []);
|
||||
$pinned = ((! empty($pinned_items) && in_array($item['mid'], $pinned_items)) ? true : false);
|
||||
|
||||
$locicon = ($item['verb'] === 'Arrive') ? '<i class="fa fa-fw fa-map-marker"></i> ' : '';
|
||||
if (!$locicon) {
|
||||
$locicon = ($item['verb'] === 'Leave') ? '<i class="fa fa-fw fa-sign-out"></i> ' : '';
|
||||
}
|
||||
|
||||
$tmp_item = array(
|
||||
'template' => $this->get_template(),
|
||||
'mode' => $mode,
|
||||
|
@ -413,7 +418,7 @@ class ThreadItem
|
|||
'thumb' => $profile_avatar,
|
||||
'osparkle' => $osparkle,
|
||||
'sparkle' => $sparkle,
|
||||
'title' => $item['title'],
|
||||
'title' => $locicon . $item['title'],
|
||||
'title_tosource' => get_pconfig($conv->get_profile_owner(), 'system', 'title_tosource'),
|
||||
'ago' => relative_date($item['created']),
|
||||
'app' => $item['app'],
|
||||
|
|
|
@ -1350,7 +1350,7 @@ function z_status_editor($x, $popup = false)
|
|||
'$discombed' => t('Load remote media players'),
|
||||
'$discombed2' => t('This <em>may</em> subject viewers of this post to behaviour tracking'),
|
||||
'$embedchecked' => ((get_pconfig($x['profile_uid'], 'system', 'linkinfo_embed', true)) ? ' checked ' : ''),
|
||||
'$disczot' => t('Find shareable objects (Zot)'),
|
||||
'$disczot' => t('Find shareable objects'),
|
||||
'$checkin_checked' => $checkin_checked,
|
||||
'$checkout_checked' => $checkout_checked,
|
||||
'$reset' => $reset
|
||||
|
|
Loading…
Reference in a new issue