Remove obsolete tag attributes

This commit is contained in:
Ramon Wenger 2022-03-28 16:49:25 +02:00
parent 2a32993c5c
commit fdf6bb3f52
10 changed files with 164 additions and 6 deletions

View File

@ -7,6 +7,7 @@
type="topic"
v-if="module.topic"
/>
<<<<<<< HEAD
<div class="module-navigation__module-content" v-if="false">
<!-- Do not display this for now, might be used later again though -->
<router-link :to="moduleContentLink" tag="h3" class="module-navigation__heading">
@ -27,6 +28,50 @@
<a href="#" class="module-navigation__anchor" v-scroll-to="'#objectives-confirm'">Lernzielkontrolle</a>
</div>
</div>
||||||| parent of c96f9b5b (Remove obsolete tag attributes)
<div
class="module-navigation__module-content"
v-if="false"
>
<!-- Do not display this for now, might be used later again though -->
<router-link
:to="moduleContentLink"
tag="h3"
class="module-navigation__heading"
>
Inhalte: {{ module.metaTitle }}
</router-link>
<div
class="module-navigation__anchors"
v-if="onModulePage"
>
<a
href="#"
class="module-navigation__anchor"
v-scroll-to="'#meta-title'"
>Einleitung</a>
<a
href="#"
class="module-navigation__anchor"
v-scroll-to="'#objectives'"
>Lernziele</a>
<a
href="#"
class="module-navigation__anchor"
v-for="(chapter, index) in module.chapters"
:key="chapter.id"
v-scroll-to="chapterId(index)"
>{{ chapter.title }}</a>
<a
href="#"
class="module-navigation__anchor"
v-scroll-to="'#objectives-confirm'"
>Lernzielkontrolle</a>
</div>
</div>
=======
>>>>>>> c96f9b5b (Remove obsolete tag attributes)
<div
class="module-navigation__toggle-menu"

View File

@ -2,7 +2,6 @@
<router-link
:to="moduleLink"
:class="['module-teaser', {'module-teaser--small': !teaser}]"
tag="div"
>
<div
:style="{backgroundImage: 'url('+heroImage+')'}"
@ -44,8 +43,7 @@
</script>
<style scoped lang="scss">
@import "@/styles/_variables.scss";
@import "@/styles/_mixins.scss";
@import "~styles/helpers";
.module-teaser {
box-shadow: 0 3px 9px 0 rgba(0, 0, 0, 0.12);

View File

@ -44,7 +44,24 @@
>
Speichern
</button>
<<<<<<< HEAD
<router-link to="/portfolio" tag="button" class="button"> Abbrechen </router-link>
||||||| parent of c96f9b5b (Remove obsolete tag attributes)
<router-link
to="/portfolio"
tag="button"
class="button"
>
Abbrechen
</router-link>
=======
<router-link
to="/portfolio"
class="button"
>
Abbrechen
</router-link>
>>>>>>> c96f9b5b (Remove obsolete tag attributes)
</template>
</page-form>
</template>

View File

@ -1,8 +1,15 @@
<template>
<li class="project">
<router-link
<<<<<<< HEAD
:to="{ name: 'project', params: { slug: project.slug } }"
tag="div"
||||||| parent of c96f9b5b (Remove obsolete tag attributes)
:to="{name: 'project', params: {slug: project.slug}}"
tag="div"
=======
:to="{name: 'project', params: {slug: project.slug}}"
>>>>>>> c96f9b5b (Remove obsolete tag attributes)
class="project__link"
data-cy="project-link"
>

View File

@ -1,8 +1,47 @@
<template>
<<<<<<< HEAD
<div class="room-entry" data-cy="room-entry">
<router-link :to="{ name: 'article', params: { slug: slug } }" class="room-entry__router-link" tag="div">
<div class="room-entry__header" v-if="image">
<img :src="image" :alt="title" class="room-entry__image" />
||||||| parent of c96f9b5b (Remove obsolete tag attributes)
<div
class="room-entry"
data-cy="room-entry"
>
<router-link
:to="{name: 'article', params: { slug: slug }}"
class="room-entry__router-link"
tag="div"
>
<div
class="room-entry__header"
v-if="image"
>
<img
:src="image"
:alt="title"
class="room-entry__image"
>
=======
<div
class="room-entry"
data-cy="room-entry"
>
<router-link
:to="{name: 'article', params: { slug: slug }}"
class="room-entry__router-link"
>
<div
class="room-entry__header"
v-if="image"
>
<img
:src="image"
:alt="title"
class="room-entry__image"
>
>>>>>>> c96f9b5b (Remove obsolete tag attributes)
</div>
<div class="room-entry__content">
<h2 class="room-entry__title">

View File

@ -10,7 +10,24 @@
<button type="submit" data-cy="room-form-save" class="button button--primary room-form__save-button">
Speichern
</button>
<<<<<<< HEAD
<router-link to="/rooms" tag="button" class="button"> Abbrechen </router-link>
||||||| parent of c96f9b5b (Remove obsolete tag attributes)
<router-link
to="/rooms"
tag="button"
class="button"
>
Abbrechen
</router-link>
=======
<router-link
to="/rooms"
class="button"
>
Abbrechen
</router-link>
>>>>>>> c96f9b5b (Remove obsolete tag attributes)
</template>
</page-form>
</template>

View File

@ -1,6 +1,27 @@
<template>
<<<<<<< HEAD
<div :class="roomClass" class="room-widget">
<router-link :to="{ name: 'room', params: { slug: slug } }" tag="div" class="room-widget__content">
||||||| parent of c96f9b5b (Remove obsolete tag attributes)
<div
:class="roomClass"
class="room-widget"
>
<router-link
:to="{name: 'room', params: {slug: slug}}"
tag="div"
class="room-widget__content"
>
=======
<div
:class="roomClass"
class="room-widget"
>
<router-link
:to="{name: 'room', params: {slug: slug}}"
class="room-widget__content"
>
>>>>>>> c96f9b5b (Remove obsolete tag attributes)
<h2 class="room-widget__title">
{{ title }}
</h2>

View File

@ -36,7 +36,6 @@
>
<router-link
:to="{name: 'create-class'}"
tag="span"
class="popover-links__link-with-icon"
>
<add-icon class="popover-links__icon" />
@ -49,7 +48,6 @@
>
<router-link
:to="{name: 'old-classes'}"
tag="span"
>
Alte Klassen anzeigen
</router-link>

View File

@ -10,7 +10,6 @@
<router-link
:to="{ name: 'instrument', params: { slug: instrument.slug } }"
data-cy="instrument"
tag="div"
v-for="instrument in filteredInstruments"
:key="instrument.id"
>

View File

@ -17,7 +17,24 @@
:key="index"
/>
</div>
<<<<<<< HEAD
<router-link :to="topicRoute" tag="div" class="button"> Alle {{ $flavor.textModules }} anzeigen </router-link>
||||||| parent of c96f9b5b (Remove obsolete tag attributes)
<router-link
:to="topicRoute"
tag="div"
class="button"
>
Alle {{ $flavor.textModules }} anzeigen
</router-link>
=======
<router-link
:to="topicRoute"
class="button"
>
Alle {{ $flavor.textModules }} anzeigen
</router-link>
>>>>>>> c96f9b5b (Remove obsolete tag attributes)
</div>
<div class="start-page__news news" data-cy="news-teasers" v-if="!me.readOnly">
<h2 class="start-page__heading">News</h2>