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:
commit
11894a82e7
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue