Skip to content
Snippets Groups Projects
Commit 559a360e authored by Konrad Mohrfeldt's avatar Konrad Mohrfeldt :koala:
Browse files

fix: remove under-construction warnings

Feedback hasn’t been to good, so we remove these again.
parent dd1b1bbe
No related branches found
No related tags found
No related merge requests found
<template> <template>
<div> <div>
<UnderConstruction class="tw-top-0 tw-right-0"> <PageHeader :title="$t('filePlaylistManager.title')" />
<template #title>
<p>Die komplette bisherige Medienseite wird aufgelöst.</p>
<p>
Stattdessen wird es möglich sein, eine Playlist direkt innerhalb der jeweiligen Sendung zu
bearbeiten bzw. neu anzulegen.
</p>
</template>
<PageHeader :title="$t('filePlaylistManager.title')" /> <template v-if="!loaded.shows">
<div class="tw-text-center">
{{ $t('loading') }}
</div>
</template>
<template v-if="!loaded.shows"> <template v-else-if="selectedShow">
<div class="tw-text-center"> <jumbotron />
{{ $t('loading') }}
</div>
</template>
<template v-else-if="selectedShow"> <!-- All the UI for uploading and editing files is only shown if the user
<jumbotron />
<!-- All the UI for uploading and editing files is only shown if the user
choose to edit files in the jumbotron above --> choose to edit files in the jumbotron above -->
<div v-if="mode === 'files'"> <div v-if="mode === 'files'">
<files /> <files />
</div> </div>
<!-- All the UI for creating and editing playlists is only shown if the user <!-- All the UI for creating and editing playlists is only shown if the user
choose to edit playlists in the jumbotron above --> choose to edit playlists in the jumbotron above -->
<div v-if="mode === 'playlists'"> <div v-if="mode === 'playlists'">
<playlists /> <playlists />
</div> </div>
</template> </template>
</UnderConstruction>
</div> </div>
</template> </template>
...@@ -42,11 +32,9 @@ import jumbotron from '../components/filemanager/Jumbotron.vue' ...@@ -42,11 +32,9 @@ import jumbotron from '../components/filemanager/Jumbotron.vue'
import files from '../components/filemanager/Files.vue' import files from '../components/filemanager/Files.vue'
import playlists from '../components/filemanager/Playlists.vue' import playlists from '../components/filemanager/Playlists.vue'
import PageHeader from '@/components/PageHeader.vue' import PageHeader from '@/components/PageHeader.vue'
import UnderConstruction from '@/components/UnderConstruction.vue'
export default { export default {
components: { components: {
UnderConstruction,
PageHeader, PageHeader,
jumbotron: jumbotron, jumbotron: jumbotron,
files: files, files: files,
......
...@@ -6,19 +6,7 @@ ...@@ -6,19 +6,7 @@
:editing-metadata="show" :editing-metadata="show"
/> />
<UnderConstruction class="tw-top-2 tw-right-2 tw-text-xl"> <ShowJumbotron />
<template #title>
<p>
Dieser Bereich wird demnächst zugunsten einzelner Eingabefelder (wie weiter unten zu
sehen) aufgelöst.
</p>
<p>
Der Button für die Deaktivierung der Sendereihe wandert in einen eigenen Bereich und
erhält eine Erklärung zu Bedeutung & Funktionsweise.
</p>
</template>
<ShowJumbotron />
</UnderConstruction>
<div class="tw-grid tw-gap-x-6 tw-grid-cols-1 md:tw-grid-cols-2 lg:tw-grid-cols-3"> <div class="tw-grid tw-gap-x-6 tw-grid-cols-1 md:tw-grid-cols-2 lg:tw-grid-cols-3">
<ShowMetaSimpleTypes :show="show" /> <ShowMetaSimpleTypes :show="show" />
...@@ -52,7 +40,6 @@ import ShowMetaImages from '../components/shows/MetaImages.vue' ...@@ -52,7 +40,6 @@ import ShowMetaImages from '../components/shows/MetaImages.vue'
import PageHeader from '@/components/PageHeader.vue' import PageHeader from '@/components/PageHeader.vue'
import { useI18n } from '@/i18n' import { useI18n } from '@/i18n'
import { Show } from '@/types' import { Show } from '@/types'
import UnderConstruction from '@/components/UnderConstruction.vue'
import { useBreadcrumbs } from '@/stores/nav' import { useBreadcrumbs } from '@/stores/nav'
import ATimeEditInfo from '@/components/generic/ATimeEditInfo.vue' import ATimeEditInfo from '@/components/generic/ATimeEditInfo.vue'
......
...@@ -2,20 +2,7 @@ ...@@ -2,20 +2,7 @@
<div class="tw-max-w-5xl"> <div class="tw-max-w-5xl">
<PageHeader :lead="show.name" :title="t('navigation.show.episodes')" :editing-metadata="show" /> <PageHeader :lead="show.name" :title="t('navigation.show.episodes')" :editing-metadata="show" />
<UnderConstruction class="tw-right-0 tw-top-0"> <TimeSlotList :show="show" />
<template #title>
<p>
Der Dialog zur Bearbeitung der Shownotes wird demnächst auf eine separate Seite
ausgelagert.
</p>
<p>
Auch die Zuweisung der jeweiligen Playlist wird auf diese Unterseite verschoben bzw.
ergänzt, so dass die Inhalte der Playlist sich direkt dort bearbeiten lassen und kein
Wechsel zur Medienseite mehr notwendig ist.
</p>
</template>
<TimeSlotList :show="show" />
</UnderConstruction>
<ShowSchedules :show="show" /> <ShowSchedules :show="show" />
</div> </div>
</template> </template>
...@@ -26,7 +13,6 @@ import TimeSlotList from '@/components/shows/TimeSlotList.vue' ...@@ -26,7 +13,6 @@ import TimeSlotList from '@/components/shows/TimeSlotList.vue'
import ShowSchedules from '@/components/shows/Schedules.vue' import ShowSchedules from '@/components/shows/Schedules.vue'
import PageHeader from '@/components/PageHeader.vue' import PageHeader from '@/components/PageHeader.vue'
import { useI18n } from '@/i18n' import { useI18n } from '@/i18n'
import UnderConstruction from '@/components/UnderConstruction.vue'
import { useBreadcrumbs } from '@/stores/nav' import { useBreadcrumbs } from '@/stores/nav'
const props = defineProps<{ const props = defineProps<{
......
...@@ -71,21 +71,16 @@ ...@@ -71,21 +71,16 @@
</template> </template>
</FormGroup> </FormGroup>
<UnderConstruction <FormGroup
class="tw-text-sm tw-right-0 tw-bottom-0" :label="t('showMeta.defaultPlaylist')"
title="Der Dialog zur Auswahl einer Playlist wird überarbeitet. Er soll eine einfache Suche erlauben." :errors="defaultPlaylist.errors"
:is-saving="defaultPlaylist.isSaving"
with-edit-button
@edit="openDefaultPlaylistSelectorModal"
> >
<FormGroup <template v-if="defaultPlaylist.value">{{ defaultPlaylist.value.description }}</template>
:label="t('showMeta.defaultPlaylist')" <template v-else>-</template>
:errors="defaultPlaylist.errors" </FormGroup>
:is-saving="defaultPlaylist.isSaving"
with-edit-button
@edit="openDefaultPlaylistSelectorModal"
>
<template v-if="defaultPlaylist.value">{{ defaultPlaylist.value.description }}</template>
<template v-else>-</template>
</FormGroup>
</UnderConstruction>
<template v-if="authStore.isSuperuser"> <template v-if="authStore.isSuperuser">
<hr class="tw-col-span-full tw-order-last tw-w-full" /> <hr class="tw-col-span-full tw-order-last tw-w-full" />
...@@ -126,7 +121,6 @@ import { ...@@ -126,7 +121,6 @@ import {
import { sanitizeHTML } from '@/util' import { sanitizeHTML } from '@/util'
import FormGroup from '@/components/generic/FormGroup.vue' import FormGroup from '@/components/generic/FormGroup.vue'
import FallbackSelector from '@/components/shows/FallbackSelector.vue' import FallbackSelector from '@/components/shows/FallbackSelector.vue'
import UnderConstruction from '@/components/UnderConstruction.vue'
import { useAPIObjectFieldCopy, useRelation } from '@/form' import { useAPIObjectFieldCopy, useRelation } from '@/form'
import { Show } from '@/types' import { Show } from '@/types'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment