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