Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Use png icons in caldav reminder emails
Signed-off-by: Richard Steinmetz <[email protected]>
  • Loading branch information
st3iny authored and backportbot[bot] committed Nov 11, 2020
commit a6e3bf6a5967d84a1c8f590f83e11f72edb31eec
Original file line number Diff line number Diff line change
Expand Up @@ -155,18 +155,18 @@ private function addBulletList(IEMailTemplate $template,
string $calendarDisplayName,
VEvent $vevent):void {
$template->addBodyListItem($calendarDisplayName, $l10n->t('Calendar:'),
$this->getAbsoluteImagePath('actions/info.svg'));
$this->getAbsoluteImagePath('actions/info.png'));

$template->addBodyListItem($this->generateDateString($l10n, $vevent), $l10n->t('Date:'),
$this->getAbsoluteImagePath('places/calendar.svg'));
$this->getAbsoluteImagePath('places/calendar.png'));

if (isset($vevent->LOCATION)) {
$template->addBodyListItem((string) $vevent->LOCATION, $l10n->t('Where:'),
$this->getAbsoluteImagePath('actions/address.svg'));
$this->getAbsoluteImagePath('actions/address.png'));
}
if (isset($vevent->DESCRIPTION)) {
$template->addBodyListItem((string) $vevent->DESCRIPTION, $l10n->t('Description:'),
$this->getAbsoluteImagePath('actions/more.svg'));
$this->getAbsoluteImagePath('actions/more.png'));
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ private function setupURLGeneratorMock(int $times=1):void {
$this->urlGenerator
->expects($this->at(8 * $i))
->method('imagePath')
->with('core', 'actions/info.svg')
->with('core', 'actions/info.png')
->willReturn('imagePath1');

$this->urlGenerator
Expand All @@ -512,7 +512,7 @@ private function setupURLGeneratorMock(int $times=1):void {
$this->urlGenerator
->expects($this->at(8 * $i + 2))
->method('imagePath')
->with('core', 'places/calendar.svg')
->with('core', 'places/calendar.png')
->willReturn('imagePath2');

$this->urlGenerator
Expand All @@ -524,7 +524,7 @@ private function setupURLGeneratorMock(int $times=1):void {
$this->urlGenerator
->expects($this->at(8 * $i + 4))
->method('imagePath')
->with('core', 'actions/address.svg')
->with('core', 'actions/address.png')
->willReturn('imagePath3');

$this->urlGenerator
Expand All @@ -536,7 +536,7 @@ private function setupURLGeneratorMock(int $times=1):void {
$this->urlGenerator
->expects($this->at(8 * $i + 6))
->method('imagePath')
->with('core', 'actions/more.svg')
->with('core', 'actions/more.png')
->willReturn('imagePath4');

$this->urlGenerator
Expand Down
Binary file added core/img/actions/address.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added core/img/actions/info.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added core/img/actions/more.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added core/img/places/calendar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.