kopia lustrzana https://dev.funkwhale.audio/funkwhale/funkwhale
fix(style): show tags in detail pages
rodzic
af58e94e73
commit
c1ed0112bc
|
@ -15,7 +15,6 @@ import ArtistCreditLabel from '~/components/audio/ArtistCreditLabel.vue'
|
|||
import TrackFavoriteIcon from '~/components/favorites/TrackFavoriteIcon.vue'
|
||||
import TrackPlaylistIcon from '~/components/playlists/TrackPlaylistIcon.vue'
|
||||
import PlayButton from '~/components/audio/PlayButton.vue'
|
||||
import TagsList from '~/components/tags/List.vue'
|
||||
import AlbumDropdown from './AlbumDropdown.vue'
|
||||
import Layout from '~/components/ui/Layout.vue'
|
||||
import Spacer from '~/components/ui/Spacer.vue'
|
||||
|
@ -204,12 +203,7 @@ const remove = async () => {
|
|||
v-if="totalDuration > 0"
|
||||
:duration="totalDuration"
|
||||
/>
|
||||
<i v-if="object.tags && object.tags.length > 0" class="bi bi-dot" />
|
||||
<!--TODO: License -->
|
||||
<TagsList
|
||||
v-if="object.tags && object.tags.length > 0"
|
||||
:tags="object.tags"
|
||||
/>
|
||||
</div>
|
||||
<Layout flex>
|
||||
<rendered-description
|
||||
|
|
|
@ -5,6 +5,7 @@ import LibraryWidget from '~/components/federation/LibraryWidget.vue'
|
|||
import ChannelEntries from '~/components/audio/ChannelEntries.vue'
|
||||
import TrackTable from '~/components/audio/track/Table.vue'
|
||||
import PlayButton from '~/components/audio/PlayButton.vue'
|
||||
import TagsList from '~/components/tags/List.vue'
|
||||
import Pagination from '~/components/vui/Pagination.vue'
|
||||
import { computed, ref } from 'vue'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
|
@ -79,6 +80,11 @@ const paginatedDiscs = computed(() => props.object.tracks.slice(props.paginateBy
|
|||
<Loader v-if="isLoadingTracks" />
|
||||
|
||||
<template v-else>
|
||||
<TagsList
|
||||
v-if="object.tags && object.tags.length > 0"
|
||||
style="margin-top: -16px;"
|
||||
:tags="object.tags"
|
||||
/>
|
||||
<template v-if="discCount > 1">
|
||||
<div
|
||||
v-for="tracks, index in paginatedDiscs"
|
||||
|
|
|
@ -21,7 +21,6 @@ import PlayButton from '~/components/audio/PlayButton.vue'
|
|||
import RadioButton from '~/components/radios/Button.vue'
|
||||
import Popover from '~/components/ui/Popover.vue'
|
||||
import PopoverItem from '~/components/ui/popover/PopoverItem.vue'
|
||||
import TagsList from '~/components/tags/List.vue'
|
||||
import Layout from '~/components/ui/Layout.vue'
|
||||
import Modal from '~/components/ui/Modal.vue'
|
||||
import Spacer from '~/components/ui/Spacer.vue'
|
||||
|
@ -148,10 +147,6 @@ watch(() => props.id, fetchData, { immediate: true })
|
|||
:duration="totalDuration"
|
||||
/>
|
||||
</div>
|
||||
<TagsList
|
||||
v-if="object.tags && object.tags.length > 0"
|
||||
:tags="object.tags"
|
||||
/>
|
||||
</Layout>
|
||||
<Spacer />
|
||||
<Layout flex>
|
||||
|
|
|
@ -14,7 +14,6 @@ import TrackTable from '~/components/audio/track/Table.vue'
|
|||
import TagsList from '~/components/tags/List.vue'
|
||||
import AlbumCard from '~/components/album/Card.vue'
|
||||
import Layout from '~/components/ui/Layout.vue'
|
||||
import Section from '~/components/ui/Section.vue'
|
||||
import Heading from "~/components/ui/Heading.vue";
|
||||
import Loader from '~/components/ui/Loader.vue'
|
||||
import Link from '~/components/ui/Link.vue'
|
||||
|
@ -73,6 +72,7 @@ const loadMoreAlbums = async () => {
|
|||
<Layout stack v-if="object">
|
||||
<TagsList
|
||||
v-if="object.tags && object.tags.length > 0"
|
||||
style="margin-top: -16px;"
|
||||
:tags="object.tags"
|
||||
/>
|
||||
<Alert blue
|
||||
|
|
|
@ -15,7 +15,6 @@ import TrackFavoriteIcon from '~/components/favorites/TrackFavoriteIcon.vue'
|
|||
import TrackPlaylistIcon from '~/components/playlists/TrackPlaylistIcon.vue'
|
||||
import EmbedWizard from '~/components/audio/EmbedWizard.vue'
|
||||
import HumanDuration from '~/components/common/HumanDuration.vue'
|
||||
import TagsList from '~/components/tags/List.vue'
|
||||
import Layout from '~/components/ui/Layout.vue'
|
||||
import Loader from '~/components/ui/Loader.vue'
|
||||
import Modal from '~/components/ui/Modal.vue'
|
||||
|
@ -314,10 +313,6 @@ watch(showDeleteModal, (newValue) => {
|
|||
</time>
|
||||
</div>
|
||||
</Layout>
|
||||
<TagsList
|
||||
v-if="track.tags && track.tags.length > 0"
|
||||
:tags="track.tags"
|
||||
/>
|
||||
|
||||
<Modal
|
||||
v-if="isEmbedable"
|
||||
|
|
|
@ -136,9 +136,11 @@ const track_details: {
|
|||
|
||||
<template>
|
||||
<Layout stack v-if="track">
|
||||
<template v-if="track.tags && track.tags.length > 0">
|
||||
<TagsList :tags="track.tags" />
|
||||
</template>
|
||||
<TagsList
|
||||
v-if="track.tags && track.tags.length > 0"
|
||||
style="margin-top: -16px;"
|
||||
:tags="track.tags"
|
||||
/>
|
||||
|
||||
<Layout flex style="gap: 24px;">
|
||||
<Layout stack style="flex: 1; gap: 0;">
|
||||
|
|
Ładowanie…
Reference in New Issue