Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jovuit
funkwhale
Commits
711ac732
Unverified
Commit
711ac732
authored
Jun 05, 2020
by
Agate
💬
Browse files
Fix #1113: Added new channels widget on pod landing page
parent
c19e8595
Changes
2
Hide whitespace changes
Inline
Side-by-side
changes/changelog.d/1113.enhancement
0 → 100644
View file @
711ac732
Added new channels widget on pod landing page (#1113)
front/src/components/Home.vue
View file @
711ac732
...
...
@@ -173,6 +173,12 @@
<div
class=
"ui hidden divider"
></div>
</router-link>
</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>
</main>
</template>
...
...
@@ -183,6 +189,7 @@ import _ from '@/lodash'
import
{
mapState
}
from
'
vuex
'
import
showdown
from
'
showdown
'
import
AlbumWidget
from
"
@/components/audio/album/Widget
"
import
ChannelsWidget
from
"
@/components/audio/ChannelsWidget
"
import
LoginForm
from
"
@/components/auth/LoginForm
"
import
SignupForm
from
"
@/components/auth/SignupForm
"
import
{
humanSize
}
from
'
@/filters
'
...
...
@@ -190,6 +197,7 @@ import {humanSize } from '@/filters'
export
default
{
components
:
{
AlbumWidget
,
ChannelsWidget
,
LoginForm
,
SignupForm
,
},
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment