Merge branch 'dev' of codeberg.org:streams/streams into dev

This commit is contained in:
Mike Macgirvin 2024-04-30 14:01:31 +10:00
commit 888e9c9519
2 changed files with 3 additions and 3 deletions

View file

@ -138,7 +138,7 @@ function format_event_obj($jobject)
]);
$event['content'] = replace_macros(Theme::get_template('event_item_content.tpl'), [
'$description' => (($title) ? '<strong>' . $title . '</strong>' : '') . $object['content'],
'$description' => (($title) ? '<strong>' . $title . '</strong><br>' : '') . $object['content'],
'$location_label' => t('Location:'),
'$location' => ((array_path_exists('location/content', $object)) ? zidify_links(smilies(bbcode($object['location']['content']))) : EMPTY_STR)
]);

View file

@ -1,7 +1,7 @@
{{if $description}}
<div class="event-item-description">
<div class="event-item-description">
{{$description}}
</div>
</div>
{{/if}}
{{if $location}}
<div class="event-item-location">