diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index e2d47b86..6c8ce7cd 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -4,6 +4,7 @@ Changelog 1.5.2 (Unreleased) ------------------ - Enh #405: Improve UI of create/edit form on mobile +- Fix #404: Invite notification - Empty block 1.5.1 (July 16, 2023) ---------------------- diff --git a/widgets/mails/views/eventInfoHtml.php b/widgets/mails/views/eventInfoHtml.php index 1ae4b87c..bd2047c2 100644 --- a/widgets/mails/views/eventInfoHtml.php +++ b/widgets/mails/views/eventInfoHtml.php @@ -7,59 +7,59 @@ use humhub\libs\Html; use humhub\modules\calendar\interfaces\event\CalendarEventIF; -use humhub\modules\calendar\interfaces\participation\CalendarEventParticipationIF;use humhub\modules\calendar\models\CalendarDateFormatter; +use humhub\modules\calendar\interfaces\participation\CalendarEventParticipationIF; +use humhub\modules\calendar\models\CalendarDateFormatter; use humhub\modules\content\widgets\richtext\converter\RichTextToEmailHtmlConverter; use humhub\widgets\mails\MailButton; use humhub\widgets\mails\MailButtonList; /* @var $event CalendarEventIF */ /* @var $url string */ -/* @var $extraInfo string*/ +/* @var $extraInfo string */ -if(!isset($url)) { +if (!isset($url)) { $url = $event->getUrl(); } $formatter = new CalendarDateFormatter(['calendarItem' => $event]); - ?>
-
+ - getTitle())) :?> -

getTitle())?>

+ getTitle())): ?> +

getTitle()) ?>

- getStartDateTime())) : ?> + getStartDateTime())): ?> Starting {date}', [ 'date' => $formatter->getFormattedTime() ]) ?>
- - getOrganizer()) : ?> + + getOrganizer()) : ?> Html::encode($event->getOrganizer()->displayName)]) ?> - getLocation())) : ?> - getLocation())?> + getLocation())): ?> + getLocation()) ?>
- getDescription())) : ?> + getDescription())): ?>

getDescription()) ?>

- +

-
diff --git a/widgets/mails/views/eventInfoText.php b/widgets/mails/views/eventInfoText.php index c8d1127e..97514ab0 100644 --- a/widgets/mails/views/eventInfoText.php +++ b/widgets/mails/views/eventInfoText.php @@ -7,53 +7,47 @@ use humhub\libs\Html; use humhub\modules\calendar\interfaces\event\CalendarEventIF; -use humhub\modules\calendar\interfaces\participation\CalendarEventParticipationIF;use humhub\modules\calendar\models\CalendarDateFormatter; +use humhub\modules\calendar\interfaces\participation\CalendarEventParticipationIF; +use humhub\modules\calendar\models\CalendarDateFormatter; use humhub\modules\content\widgets\richtext\RichText; use humhub\widgets\mails\MailButton; use humhub\widgets\mails\MailButtonList; /* @var $event CalendarEventIF */ /* @var $url string */ -/* @var $extraInfo string*/ +/* @var $extraInfo string */ -if(!isset($url)) { +if (!isset($url)) { $url = $event->getUrl(); } $formatter = new CalendarDateFormatter(['calendarItem' => $event]) - ?> getTitle() ?> - -getStartDateTime())) : ?> -Starting {date}', [ - 'date' => $formatter->getFormattedTime() -])) ?> +getStartDateTime())): ?> + Starting {date}', [ + 'date' => $formatter->getFormattedTime() + ])) ?> - -getOrganizer()) : ?> - - - $event->getOrganizer()->displayName]) ?> + + getOrganizer()): ?> + Html::encode($event->getOrganizer()->displayName)]) ?> + - -getLocation())) : ?> - - getLocation() ?> +getLocation())): ?> + getLocation()) ?> -getDescription())) : ?> - -getDescription()) ?> +getDescription())): ?> + getDescription()) ?> - - - - + + + $url]); ?>