Merge pull request #12848 from nextcloud/stb15-whatsNew-to-button

[stable15] Make a button out of 'What's new' so it's obvious it can be clicked on
This commit is contained in:
John Molakvoæ 2018-12-05 16:27:08 +01:00 committed by GitHub
commit 11894a82e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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> </ul>
</template> </template>
<p> <div>
<a v-if="updaterEnabled" href="#" class="button" @click="clickUpdaterButton">{{ t('updatenotification', 'Open updater') }}</a> <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> <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="whatsNew" v-if="whatsNew"> <div class="toggleWhatsNew">
<div class="toggleWhatsNew"> <a class="button" v-click-outside="hideMenu" @click="toggleMenu">{{ t('updatenotification', 'What\'s new?') }}</a>
<span v-click-outside="hideMenu" @click="toggleMenu">{{ t('updatenotification', 'What\'s new?') }}</span> <div class="popovermenu" :class="{ 'menu-center': true, open: openedWhatsNew }">
<div class="popovermenu" :class="{ 'menu-center': true, open: openedWhatsNew }"> <popover-menu :menu="whatsNew" />
<popover-menu :menu="whatsNew" /> </div>
</div> </div>
</div> </div>
</div> </div>