Skip to content

Commit 2c30664

Browse files
authored
Merge pull request #12757 from nextcloud/whatsNew-to-button
make a button out of 'What's new' so it's obvious it can be clicked on
2 parents 53deced + a01e59b commit 2c30664

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

apps/updatenotification/js/updatenotification.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/updatenotification/js/updatenotification.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/updatenotification/src/components/root.vue

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,15 @@
3737
</ul>
3838
</template>
3939

40-
<p>
41-
<a v-if="updaterEnabled" href="#" class="button" @click="clickUpdaterButton">{{ t('updatenotification', 'Open updater') }}</a>
40+
<div>
41+
<a v-if="updaterEnabled" href="#" class="button primary" @click="clickUpdaterButton">{{ t('updatenotification', 'Open updater') }}</a>
4242
<a v-if="downloadLink" :href="downloadLink" class="button" :class="{ hidden: !updaterEnabled }">{{ t('updatenotification', 'Download now') }}</a>
43-
</p>
44-
<div class="whatsNew" v-if="whatsNew">
45-
<div class="toggleWhatsNew">
46-
<span v-click-outside="hideMenu" @click="toggleMenu">{{ t('updatenotification', 'What\'s new?') }}</span>
47-
<div class="popovermenu" :class="{ 'menu-center': true, open: openedWhatsNew }">
48-
<popover-menu :menu="whatsNew" />
43+
<div class="whatsNew" v-if="whatsNew">
44+
<div class="toggleWhatsNew">
45+
<a class="button" v-click-outside="hideMenu" @click="toggleMenu">{{ t('updatenotification', 'What\'s new?') }}</a>
46+
<div class="popovermenu" :class="{ 'menu-center': true, open: openedWhatsNew }">
47+
<popover-menu :menu="whatsNew" />
48+
</div>
4949
</div>
5050
</div>
5151
</div>

0 commit comments

Comments
 (0)