Commit 8e9d254f authored by Mathias Bär's avatar Mathias Bär Committed by Anton Koch

Root: Back buttons removed

parent 6b1df7e1
Subproject commit 084fccc920a6d56af05a3ca949adc601d416eeda
Subproject commit 4f7c4ae6df3e8188970d4a35234486adcd384b5c
<template lang="pug">
full-screen
// back button
back-button-new(v-if="!isMobile", slot="backButton", :target="'piecemaker.timelines.list'")
// -----------------------------------------------------------------------------------------------------------------
// add new timeline
content-block(:position="'first'")
......@@ -27,7 +24,6 @@
content-paragraph(:position="last")
uploader(dark, :url="url", @finish="onFinish", allowed=".zip", :headers="headers", :fields="uploadFields")
q-btn(label="Cancel", @click.native="$router.push({name: 'piecemaker.timelines.list'})")
</template>
<script>
......
<template lang="pug">
full-screen
back-button-new(v-if="!isMobile", slot="backButton", :target="'piecemaker.timelines.list'")
// --------------------------------------------------------------------------------------------------- edit timeline
content-block(:position="'first'")
......@@ -10,7 +8,7 @@
content-paragraph
form-main(v-model="payload", :schema="schema")
div(slot="form-buttons-add", :class="{'full-width row q-mb-sm': isMobile}")
q-btn.col(q-if="$route.params.uuid", slot="form-buttons-add", :label="exportLabel", @click="exportTimeline",
q-btn.col(v-if="$route.params.uuid", slot="form-buttons-add", :label="exportLabel", @click="exportTimeline",
color="grey", :class="[!isMobile ? 'q-mr-sm' : '']")
// -------------------------------------------------------------------------------------------------- access control
......
<template lang="pug">
full-screen
back-button-new(v-if="!isMobile", slot="backButton", :target="'piecemaker.timelines.list'")
content-block(:position="'first'")
headline(:content="'Search timelines'")
......
......@@ -4,7 +4,7 @@
content-block(:position="'first'")
headline(:content="$t('routes.piecemaker.timelines.videos.title')")
| {{ timeline.title }}
| {{ timelineTitle }}
content-paragraph
data-table(
......@@ -174,7 +174,10 @@
computed: {
...mapGetters({
isMobile: 'globalSettings/getIsMobile'
})
}),
timelineTitle () {
return this.timeline ? this.timeline.title : ''
}
}
}
</script>
<template lang="pug">
full-screen
back-button(v-if="!isMobile", slot="backButton")
content-block(:position="'first'")
headline(:content="$t('routes.piecemaker.videos.edit.title') + ':'")
......
......@@ -2,7 +2,6 @@
full-screen
confirm-modal(ref="confirmModal", @confirm="handleConfirmModal")
back-button(v-if="!isMobile", slot="backButton")
//
span(slot="form-logo")
span(slot="form-title" v-if="timeline") {{ timeline.title }}: {{ $t('routes.piecemaker.videos.list.title') }}
......
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