mirror of
https://github.com/danielbrendel/hortusfox-web.git
synced 2026-01-06 21:00:22 -06:00
Textblock msg for editing a calendar item
This commit is contained in:
@@ -172,6 +172,23 @@ class TextBlockModule {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @param $name
|
||||
* @param $url
|
||||
* @return void
|
||||
* @throws \Exception
|
||||
*/
|
||||
public static function editedCalendarItem($name, $url)
|
||||
{
|
||||
try {
|
||||
$text = __('tb.edited_calendar_item', ['name' => $name, 'url' => $url]);
|
||||
|
||||
static::addToChat($text, 'x1f4c5');
|
||||
} catch (\Exception $e) {
|
||||
throw $e;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @param $message
|
||||
* @param $icon
|
||||
|
||||
Reference in New Issue
Block a user