Switch heading with dropdown on documents page, remove back link
This commit is contained in:
parent
3b8bc42cbe
commit
82f086023c
|
|
@ -136,21 +136,13 @@ async function uploadDocument(data: DocumentUploadData) {
|
||||||
<template>
|
<template>
|
||||||
<div class="bg-gray-200">
|
<div class="bg-gray-200">
|
||||||
<div v-if="courseSession" class="container-large">
|
<div v-if="courseSession" class="container-large">
|
||||||
<nav class="py-4 pb-4">
|
<main class="py-4">
|
||||||
<router-link
|
|
||||||
class="btn-text inline-flex items-center pl-0"
|
|
||||||
:to="`/course/${courseSession.course.slug}/cockpit`"
|
|
||||||
>
|
|
||||||
<it-icon-arrow-left />
|
|
||||||
<span>{{ t("general.back") }}</span>
|
|
||||||
</router-link>
|
|
||||||
</nav>
|
|
||||||
<main>
|
|
||||||
<div class="mb-9 flex flex-col lg:flex-row lg:items-center lg:justify-between">
|
<div class="mb-9 flex flex-col lg:flex-row lg:items-center lg:justify-between">
|
||||||
<h2>{{ t("a.Unterlagen für Teilnehmenden") }}</h2>
|
|
||||||
<ItDropdownSelect
|
<ItDropdownSelect
|
||||||
:model-value="cockpitStore.currentCircle"
|
:model-value="cockpitStore.currentCircle"
|
||||||
class="mt-4 w-full lg:mt-0 lg:w-96"
|
class="mt-4 w-full lg:mt-0 lg:w-96"
|
||||||
|
:as-heading="true"
|
||||||
|
type-name="Circle:"
|
||||||
:items="cockpitStore.circles"
|
:items="cockpitStore.circles"
|
||||||
@update:model-value="cockpitStore.setCurrentCourseCircleFromEvent"
|
@update:model-value="cockpitStore.setCurrentCourseCircleFromEvent"
|
||||||
></ItDropdownSelect>
|
></ItDropdownSelect>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue