fix(front): Add missing closing </div>
This commit is contained in:
parent
1b15355b76
commit
491871c598
|
@ -167,103 +167,104 @@ watch(() => props.id, fetchData, { immediate: true })
|
||||||
</div>
|
</div>
|
||||||
</semantic-modal>
|
</semantic-modal>
|
||||||
<div class="ui buttons">
|
<div class="ui buttons">
|
||||||
<Popover>
|
<Popover>
|
||||||
<template #default="{ toggleOpen }">
|
<template #default="{ toggleOpen }">
|
||||||
<button
|
<button
|
||||||
class="ui button"
|
class="ui button"
|
||||||
@click="toggleOpen"
|
@click="toggleOpen"
|
||||||
>
|
>
|
||||||
{{ t('components.library.ArtistBase.button.more') }}
|
{{ t('components.library.ArtistBase.button.more') }}
|
||||||
<i class="dropdown icon" />
|
<i class="dropdown icon" />
|
||||||
</button>
|
</button>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<template #items>
|
<template #items>
|
||||||
<PopoverItem
|
<PopoverItem
|
||||||
v-if="domain != store.getters['instance/domain']"
|
v-if="domain != store.getters['instance/domain']"
|
||||||
:href="object.fid"
|
:href="object.fid"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
class="funkwhale item"
|
class="funkwhale item"
|
||||||
>
|
>
|
||||||
<i class="external icon" />
|
<i class="external icon" />
|
||||||
{{ t('components.library.ArtistBase.link.domain', {domain: domain}) }}
|
{{ t('components.library.ArtistBase.link.domain', {domain: domain}) }}
|
||||||
</PopoverItem>
|
</PopoverItem>
|
||||||
|
|
||||||
<PopoverItem
|
<PopoverItem
|
||||||
v-if="publicLibraries.length > 0"
|
v-if="publicLibraries.length > 0"
|
||||||
@click="showEmbedModal = !showEmbedModal"
|
@click="showEmbedModal = !showEmbedModal"
|
||||||
>
|
>
|
||||||
<i class="code icon" />
|
<i class="code icon" />
|
||||||
{{ t('components.library.ArtistBase.button.embed') }}
|
{{ t('components.library.ArtistBase.button.embed') }}
|
||||||
</PopoverItem>
|
</PopoverItem>
|
||||||
|
|
||||||
<PopoverItem
|
<PopoverItem
|
||||||
:href="wikipediaUrl"
|
:href="wikipediaUrl"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noreferrer noopener"
|
rel="noreferrer noopener"
|
||||||
>
|
>
|
||||||
<i class="wikipedia w icon" />
|
<i class="wikipedia w icon" />
|
||||||
{{ t('components.library.ArtistBase.link.wikipedia') }}
|
{{ t('components.library.ArtistBase.link.wikipedia') }}
|
||||||
</PopoverItem>
|
</PopoverItem>
|
||||||
|
|
||||||
<PopoverItem
|
<PopoverItem
|
||||||
v-if="musicbrainzUrl"
|
v-if="musicbrainzUrl"
|
||||||
:href="musicbrainzUrl"
|
:href="musicbrainzUrl"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noreferrer noopener"
|
rel="noreferrer noopener"
|
||||||
>
|
>
|
||||||
<i class="external icon" />
|
<i class="external icon" />
|
||||||
{{ t('components.library.ArtistBase.link.musicbrainz') }}
|
{{ t('components.library.ArtistBase.link.musicbrainz') }}
|
||||||
</PopoverItem>
|
</PopoverItem>
|
||||||
|
|
||||||
<PopoverItem
|
<PopoverItem
|
||||||
:href="discogsUrl"
|
:href="discogsUrl"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noreferrer noopener"
|
rel="noreferrer noopener"
|
||||||
>
|
>
|
||||||
<i class="external icon" />
|
<i class="external icon" />
|
||||||
{{ t('components.library.ArtistBase.link.discogs') }}
|
{{ t('components.library.ArtistBase.link.discogs') }}
|
||||||
</PopoverItem>
|
</PopoverItem>
|
||||||
|
|
||||||
<PopoverItem
|
<PopoverItem
|
||||||
v-if="object.is_local"
|
v-if="object.is_local"
|
||||||
:to="{name: 'library.artists.edit', params: {id: object.id }}"
|
:to="{name: 'library.artists.edit', params: {id: object.id }}"
|
||||||
>
|
>
|
||||||
<i class="edit icon" />
|
<i class="edit icon" />
|
||||||
{{ t('components.library.ArtistBase.button.edit') }}
|
{{ t('components.library.ArtistBase.button.edit') }}
|
||||||
</PopoverItem>
|
</PopoverItem>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<PopoverItem
|
<PopoverItem
|
||||||
v-for="obj in getReportableObjects({artist: object})"
|
v-for="obj in getReportableObjects({artist: object})"
|
||||||
:key="obj.target.type + obj.target.id"
|
:key="obj.target.type + obj.target.id"
|
||||||
@click="report(obj)"
|
@click="report(obj)"
|
||||||
>
|
>
|
||||||
<i class="share icon" /> {{ obj.label }}
|
<i class="share icon" /> {{ obj.label }}
|
||||||
</PopoverItem>
|
</PopoverItem>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<PopoverItem
|
<PopoverItem
|
||||||
v-if="store.state.auth.availablePermissions['library']"
|
v-if="store.state.auth.availablePermissions['library']"
|
||||||
:to="{name: 'manage.library.artists.detail', params: {id: object.id}}"
|
:to="{name: 'manage.library.artists.detail', params: {id: object.id}}"
|
||||||
>
|
>
|
||||||
<i class="wrench icon" />
|
<i class="wrench icon" />
|
||||||
{{ t('components.library.ArtistBase.link.moderation') }}
|
{{ t('components.library.ArtistBase.link.moderation') }}
|
||||||
</PopoverItem>
|
</PopoverItem>
|
||||||
|
|
||||||
<PopoverItem
|
<PopoverItem
|
||||||
v-if="store.state.auth.profile && store.state.auth.profile.is_superuser"
|
v-if="store.state.auth.profile && store.state.auth.profile.is_superuser"
|
||||||
:href="store.getters['instance/absoluteUrl'](`/api/admin/music/artist/${object.id}`)"
|
:href="store.getters['instance/absoluteUrl'](`/api/admin/music/artist/${object.id}`)"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noopener noreferrer"
|
rel="noopener noreferrer"
|
||||||
>
|
>
|
||||||
<i class="wrench icon" />
|
<i class="wrench icon" />
|
||||||
{{ t('components.library.ArtistBase.link.django') }}
|
{{ t('components.library.ArtistBase.link.django') }}
|
||||||
</PopoverItem>
|
</PopoverItem>
|
||||||
</template>
|
</template>
|
||||||
</Popover>
|
</Popover>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
Loading…
Reference in New Issue