mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-23 15:23:09 +02:00
✌️
This commit is contained in:
parent
be99dc0902
commit
1e7a7d16d4
3 changed files with 10 additions and 1 deletions
|
@ -377,6 +377,7 @@ desktop:
|
||||||
mk-channel-home-widget:
|
mk-channel-home-widget:
|
||||||
title: "Channel"
|
title: "Channel"
|
||||||
settings: "Widget settings"
|
settings: "Widget settings"
|
||||||
|
get-started: "Please click the cog in the upper right to specify the channel to receive"
|
||||||
|
|
||||||
mk-timemachine-home-widget:
|
mk-timemachine-home-widget:
|
||||||
title: "{1} / {2}"
|
title: "{1} / {2}"
|
||||||
|
|
|
@ -377,6 +377,7 @@ desktop:
|
||||||
mk-channel-home-widget:
|
mk-channel-home-widget:
|
||||||
title: "チャンネル"
|
title: "チャンネル"
|
||||||
settings: "ウィジェットの設定"
|
settings: "ウィジェットの設定"
|
||||||
|
get-started: "右上の歯車をクリックして受信するチャンネルを指定してください"
|
||||||
|
|
||||||
mk-timemachine-home-widget:
|
mk-timemachine-home-widget:
|
||||||
title: "{1}年 {2}月"
|
title: "{1}年 {2}月"
|
||||||
|
|
|
@ -3,7 +3,8 @@
|
||||||
channel ? channel.title : '%i18n:desktop.tags.mk-channel-home-widget.title%'
|
channel ? channel.title : '%i18n:desktop.tags.mk-channel-home-widget.title%'
|
||||||
}</p>
|
}</p>
|
||||||
<button onclick={ settings } title="%i18n:desktop.tags.mk-channel-home-widget.settings%"><i class="fa fa-cog"></i></button>
|
<button onclick={ settings } title="%i18n:desktop.tags.mk-channel-home-widget.settings%"><i class="fa fa-cog"></i></button>
|
||||||
<mk-channel ref="channel"/>
|
<p class="get-started" if={ this.data.channel == null }>%i18n:desktop.tags.mk-channel-home-widget.get-started%</p>
|
||||||
|
<mk-channel ref="channel" show={ this.data.channel }/>
|
||||||
<style>
|
<style>
|
||||||
:scope
|
:scope
|
||||||
display block
|
display block
|
||||||
|
@ -39,6 +40,12 @@
|
||||||
&:active
|
&:active
|
||||||
color #999
|
color #999
|
||||||
|
|
||||||
|
> .get-started
|
||||||
|
margin 0
|
||||||
|
padding 16px
|
||||||
|
text-align center
|
||||||
|
color #aaa
|
||||||
|
|
||||||
> mk-channel
|
> mk-channel
|
||||||
height 200px
|
height 200px
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue