Skip to content
Snippets Groups Projects
Commit 89aaf99d authored by Agate's avatar Agate :speech_balloon:
Browse files

Merge branch '1113-home-channels' into 'master'

Resolve "Add "New channels" widget on landing page"

See merge request funkwhale/funkwhale!1131
parents 96f6b1e1 711ac732
No related branches found
No related tags found
No related merge requests found
Added new channels widget on pod landing page (#1113)
...@@ -173,6 +173,12 @@ ...@@ -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' ...@@ -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' ...@@ -190,6 +197,7 @@ import {humanSize } from '@/filters'
export default { export default {
components: { components: {
AlbumWidget, AlbumWidget,
ChannelsWidget,
LoginForm, LoginForm,
SignupForm, SignupForm,
}, },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment