make a button out of 'What's new' so it's obvious it can be clicked on #12757

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
John Molakvoæ (skjnldsv) 2018-12-05 14:17:51 +01:00
parent 3fd14b2920
commit d3561d73c0
No known key found for this signature in database
GPG Key ID: 60C25B8C072916CF
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">
<span v-click-outside="hideMenu" @click="toggleMenu">{{ t('updatenotification', 'What\'s new?') }}</span>
<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>