diff options
author | Jonas Sulzer <jonas@violoncello.ch> | 2018-12-04 14:21:18 +0100 |
---|---|---|
committer | Jonas Sulzer <jonas@violoncello.ch> | 2018-12-04 14:21:18 +0100 |
commit | a01e59bf38d83d532486fc29c7373683fe3c2ab1 (patch) | |
tree | 561a0108339f3644ea44a9c69abec965f8c82a7f /apps/updatenotification/src | |
parent | cb4950c0f5c82527706aff9f631f58c79b29f484 (diff) | |
download | nextcloud-server-a01e59bf38d83d532486fc29c7373683fe3c2ab1.tar.gz nextcloud-server-a01e59bf38d83d532486fc29c7373683fe3c2ab1.zip |
make "open updater" primary and place all buttons on one line
Signed-off-by: Jonas Sulzer <jonas@violoncello.ch>
Diffstat (limited to 'apps/updatenotification/src')
-rw-r--r-- | apps/updatenotification/src/components/root.vue | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/apps/updatenotification/src/components/root.vue b/apps/updatenotification/src/components/root.vue index 84092a740b0..456ca1e79ab 100644 --- a/apps/updatenotification/src/components/root.vue +++ b/apps/updatenotification/src/components/root.vue @@ -37,15 +37,15 @@ </ul> </template> - <p> - <a v-if="updaterEnabled" href="#" class="button" @click="clickUpdaterButton">{{ t('updatenotification', 'Open updater') }}</a> + <div> + <a v-if="updaterEnabled" href="#" class="button primary" @click="clickUpdaterButton">{{ t('updatenotification', 'Open updater') }}</a> <a v-if="downloadLink" :href="downloadLink" class="button" :class="{ hidden: !updaterEnabled }">{{ t('updatenotification', 'Download now') }}</a> - </p> - <div class="whatsNew" v-if="whatsNew"> - <div class="toggleWhatsNew"> - <a class="button" v-click-outside="hideMenu" @click="toggleMenu">{{ t('updatenotification', 'What\'s new?') }}</a> - <div class="popovermenu" :class="{ 'menu-center': true, open: openedWhatsNew }"> - <popover-menu :menu="whatsNew" /> + <div class="whatsNew" v-if="whatsNew"> + <div class="toggleWhatsNew"> + <a class="button" v-click-outside="hideMenu" @click="toggleMenu">{{ t('updatenotification', 'What\'s new?') }}</a> + <div class="popovermenu" :class="{ 'menu-center': true, open: openedWhatsNew }"> + <popover-menu :menu="whatsNew" /> + </div> </div> </div> </div> |