Merge pull request #9701 from MrPetovan/bug/9636-frio-mobile-intros-buttons

[frio] Improve display of introduction action buttons on mobile
This commit is contained in:
Michael Vogel
2020-12-23 19:50:16 +01:00
committed by GitHub
6 changed files with 23 additions and 15 deletions

View File

@@ -112,6 +112,7 @@ class Introductions extends BaseNotifications
'$note' => $notification->getNote(),
'$ignore' => DI::l10n()->t('Ignore'),
'$discard' => DI::l10n()->t('Discard'),
'$is_mobile' => DI::mode()->isMobile(),
]);
break;
@@ -190,6 +191,7 @@ class Introductions extends BaseNotifications
'$ignore' => DI::l10n()->t('Ignore'),
'$discard' => $discard,
'$action' => $action,
'$is_mobile' => DI::mode()->isMobile(),
]);
break;
}