Switch heading with dropdown on documents page, remove back link

This commit is contained in:
Ramon Wenger 2024-11-19 16:41:50 +01:00
parent 3b8bc42cbe
commit 82f086023c
1 changed files with 3 additions and 11 deletions

View File

@ -136,21 +136,13 @@ async function uploadDocument(data: DocumentUploadData) {
<template>
<div class="bg-gray-200">
<div v-if="courseSession" class="container-large">
<nav class="py-4 pb-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>
<main class="py-4">
<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
:model-value="cockpitStore.currentCircle"
class="mt-4 w-full lg:mt-0 lg:w-96"
:as-heading="true"
type-name="Circle:"
:items="cockpitStore.circles"
@update:model-value="cockpitStore.setCurrentCourseCircleFromEvent"
></ItDropdownSelect>