make "open updater" primary and place all buttons on one line

Signed-off-by: Jonas Sulzer <jonas@violoncello.ch>
This commit is contained in:
Jonas Sulzer 2018-12-04 14:21:18 +01:00
parent cb4950c0f5
commit a01e59bf38
No known key found for this signature in database
GPG key ID: 6D1DC8E0D9904C83
3 changed files with 10 additions and 10 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -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>