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 8 additions and 8 deletions

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>