Merge branch '1113-home-channels' into 'master'
Resolve "Add "New channels" widget on landing page" See merge request funkwhale/funkwhale!1131
This commit is contained in:
commit
89aaf99d06
|
@ -0,0 +1 @@
|
||||||
|
Added new channels widget on pod landing page (#1113)
|
|
@ -173,6 +173,12 @@
|
||||||
<div class="ui hidden divider"></div>
|
<div class="ui hidden divider"></div>
|
||||||
</router-link>
|
</router-link>
|
||||||
</album-widget>
|
</album-widget>
|
||||||
|
<div class="ui hidden section divider"></div>
|
||||||
|
<h3 class="ui header" >
|
||||||
|
<translate translate-context="*/*/*">New channels</translate>
|
||||||
|
</h3>
|
||||||
|
<channels-widget :show-modification-date="true" :limit="10" :filters="{ordering: '-creation_date', external: 'false'}"></channels-widget>
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
</main>
|
</main>
|
||||||
</template>
|
</template>
|
||||||
|
@ -183,6 +189,7 @@ import _ from '@/lodash'
|
||||||
import {mapState} from 'vuex'
|
import {mapState} from 'vuex'
|
||||||
import showdown from 'showdown'
|
import showdown from 'showdown'
|
||||||
import AlbumWidget from "@/components/audio/album/Widget"
|
import AlbumWidget from "@/components/audio/album/Widget"
|
||||||
|
import ChannelsWidget from "@/components/audio/ChannelsWidget"
|
||||||
import LoginForm from "@/components/auth/LoginForm"
|
import LoginForm from "@/components/auth/LoginForm"
|
||||||
import SignupForm from "@/components/auth/SignupForm"
|
import SignupForm from "@/components/auth/SignupForm"
|
||||||
import {humanSize } from '@/filters'
|
import {humanSize } from '@/filters'
|
||||||
|
@ -190,6 +197,7 @@ import {humanSize } from '@/filters'
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
AlbumWidget,
|
AlbumWidget,
|
||||||
|
ChannelsWidget,
|
||||||
LoginForm,
|
LoginForm,
|
||||||
SignupForm,
|
SignupForm,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue