Commit 0c0af4b8 authored by jackie / Andrea Ida Malkah Klaura's avatar jackie / Andrea Ida Malkah Klaura
Browse files

META: change button styles & add modal scaffold for scheduling

parent d427123c
......@@ -10,6 +10,7 @@
<b-button
v-if="$parent.user.steeringUser.is_superuser"
v-b-popover.hover.top="'Add a new show'"
variant="info"
@click="$refs.appModalSuperuser.showModalAddShow()"
>
+
......@@ -18,7 +19,7 @@
<b-dropdown
id="ddshows"
text="Sendereihe auswählen"
variant="info"
variant="outline-info"
>
<b-dropdown-item
v-for="(show, index) in shows"
......@@ -79,6 +80,7 @@
<b-button
v-if="$parent.user.steeringUser.is_superuser"
variant="danger"
size="sm"
@click="$refs.appModalSuperuser.showModalDeleteShow(shows[currentShow].id, shows[currentShow].name)"
>
Delete show
......@@ -113,6 +115,9 @@
<app-modalSuperuser
ref="appModalSuperuser"
/>
<app-modalSchedules
ref="appModalSchedules"
/>
<!-- here are the filter settings for our timeslots table -->
<b-card>
......@@ -271,6 +276,16 @@
</div>
</div>
<div align="center">
<b-button
v-if="$parent.user.steeringUser.is_superuser"
variant="info"
@click="$refs.appModalSchedules.open(shows[currentShow])"
>
Add/delete emissions
</b-button>
</div>
<hr>
<h2>Allgemeine Einstellungen zur Sendereihe:</h2>
......@@ -682,6 +697,7 @@
import modalNotes from './ShowManagerModalNotes.vue'
import modalShow from './ShowManagerModalShow.vue'
import modalSuperuser from './ShowManagerModalSuperuser.vue'
import modalSchedules from './ShowManagerModalSchedules.vue'
import timeslotSort from '../mixins/timeslotSort'
import prettyDate from '../mixins/prettyDate'
import axios from 'axios'
......@@ -694,6 +710,7 @@ export default {
'app-modalNotes': modalNotes,
'app-modalShow': modalShow,
'app-modalSuperuser': modalSuperuser,
'app-modalSchedules': modalSchedules,
},
// generic functions that we want to use from our mixins folder
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment