From 40cfed4240be385653f2c2a680a042d36f28e951 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Wed, 4 Nov 2020 18:30:03 +0100 Subject: [PATCH] Move to icon buttons MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- .../navigation/AppNavigationBoard.vue | 35 +++++++++++-------- src/store/main.js | 16 ++++++++- 2 files changed, 36 insertions(+), 15 deletions(-) diff --git a/src/components/navigation/AppNavigationBoard.vue b/src/components/navigation/AppNavigationBoard.vue index 03647959a..3c6a5458a 100644 --- a/src/components/navigation/AppNavigationBoard.vue +++ b/src/components/navigation/AppNavigationBoard.vue @@ -68,24 +68,28 @@ {{ t('deck', 'Due date reminders') }} - + icon="icon-sound" + :class="{ 'forced-active': board.settings['notify-due'] === 'all' }" + @click="updateSetting('notify-due', 'all')"> {{ t('deck', 'All cards') }} - - + + icon="icon-user" + :class="{ 'forced-active': board.settings['notify-due'] === 'assigned' }" + @click="updateSetting('notify-due', 'assigned')"> {{ t('deck', 'Assigned cards') }} - - + + icon="icon-sound-off" + :class="{ 'forced-active': board.settings['notify-due'] === 'off' }" + @click="updateSetting('notify-due', 'off')"> {{ t('deck', 'No notifications') }} - +