diff --git a/src/web/app/desktop/-tags/home-widgets/broadcast.tag b/src/web/app/desktop/-tags/home-widgets/broadcast.tag deleted file mode 100644 index 91ddbb4ab4..0000000000 --- a/src/web/app/desktop/-tags/home-widgets/broadcast.tag +++ /dev/null @@ -1,143 +0,0 @@ - -
- - - - - - - -
-

%i18n:desktop.tags.mk-broadcast-home-widget.fetching%

-

{ - broadcasts.length == 0 ? '%i18n:desktop.tags.mk-broadcast-home-widget.no-broadcasts%' : broadcasts[i].title - }

-

- %i18n:desktop.tags.mk-broadcast-home-widget.next% >> - - -
diff --git a/src/web/app/desktop/views/components/index.ts b/src/web/app/desktop/views/components/index.ts index b8d167f228..1f28613d2e 100644 --- a/src/web/app/desktop/views/components/index.ts +++ b/src/web/app/desktop/views/components/index.ts @@ -40,6 +40,7 @@ import wSlideshow from './widgets/slideshow.vue'; import wTips from './widgets/tips.vue'; import wDonation from './widgets/donation.vue'; import wNotifications from './widgets/notifications.vue'; +import wBroadcast from './widgets/broadcast.vue'; Vue.component('mk-ui', ui); Vue.component('mk-ui-header', uiHeader); @@ -81,3 +82,4 @@ Vue.component('mkw-slideshoe', wSlideshow); Vue.component('mkw-tips', wTips); Vue.component('mkw-donation', wDonation); Vue.component('mkw-notifications', wNotifications); +Vue.component('mkw-broadcast', wBroadcast); diff --git a/src/web/app/desktop/views/components/widgets/broadcast.vue b/src/web/app/desktop/views/components/widgets/broadcast.vue new file mode 100644 index 0000000000..cdc65a2a7b --- /dev/null +++ b/src/web/app/desktop/views/components/widgets/broadcast.vue @@ -0,0 +1,153 @@ + + + + + diff --git a/src/web/app/desktop/views/components/widgets/donation.vue b/src/web/app/desktop/views/components/widgets/donation.vue index 8eb1706c64..fbab0fca6c 100644 --- a/src/web/app/desktop/views/components/widgets/donation.vue +++ b/src/web/app/desktop/views/components/widgets/donation.vue @@ -4,7 +4,7 @@

%fa:heart%%i18n:desktop.tags.mk-donation-home-widget.title%

{{ '%i18n:desktop.tags.mk-donation-home-widget.text%'.substr(0, '%i18n:desktop.tags.mk-donation-home-widget.text%'.indexOf('{')) }} - @syuilo + @syuilo {{ '%i18n:desktop.tags.mk-donation-home-widget.text%'.substr('%i18n:desktop.tags.mk-donation-home-widget.text%'.indexOf('}') + 1) }}

diff --git a/src/web/app/desktop/views/components/widgets/nav.vue b/src/web/app/desktop/views/components/widgets/nav.vue index a782ad62bf..5e04c266cf 100644 --- a/src/web/app/desktop/views/components/widgets/nav.vue +++ b/src/web/app/desktop/views/components/widgets/nav.vue @@ -1,6 +1,6 @@