This commit is contained in:
syuilo
2017-11-12 04:45:34 +09:00
parent be99dc0902
commit 1e7a7d16d4
3 changed files with 10 additions and 1 deletions

View File

@ -3,7 +3,8 @@
channel ? channel.title : '%i18n:desktop.tags.mk-channel-home-widget.title%'
}</p>
<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>
:scope
display block
@ -39,6 +40,12 @@
&:active
color #999
> .get-started
margin 0
padding 16px
text-align center
color #aaa
> mk-channel
height 200px