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" type="topic"
v-if="module.topic" v-if="module.topic"
/> />
<<<<<<< HEAD
<div class="module-navigation__module-content" v-if="false"> <div class="module-navigation__module-content" v-if="false">
<!-- Do not display this for now, might be used later again though --> <!-- Do not display this for now, might be used later again though -->
<router-link :to="moduleContentLink" tag="h3" class="module-navigation__heading"> <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> <a href="#" class="module-navigation__anchor" v-scroll-to="'#objectives-confirm'">Lernzielkontrolle</a>
</div> </div>
</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 <div
class="module-navigation__toggle-menu" class="module-navigation__toggle-menu"

View File

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

View File

@ -44,7 +44,24 @@
> >
Speichern Speichern
</button> </button>
<<<<<<< HEAD
<router-link to="/portfolio" tag="button" class="button"> Abbrechen </router-link> <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> </template>
</page-form> </page-form>
</template> </template>

View File

@ -1,8 +1,15 @@
<template> <template>
<li class="project"> <li class="project">
<router-link <router-link
<<<<<<< HEAD
:to="{ name: 'project', params: { slug: project.slug } }" :to="{ name: 'project', params: { slug: project.slug } }"
tag="div" 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" class="project__link"
data-cy="project-link" data-cy="project-link"
> >

View File

@ -1,8 +1,47 @@
<template> <template>
<<<<<<< HEAD
<div class="room-entry" data-cy="room-entry"> <div class="room-entry" data-cy="room-entry">
<router-link :to="{ name: 'article', params: { slug: slug } }" class="room-entry__router-link" tag="div"> <router-link :to="{ name: 'article', params: { slug: slug } }" class="room-entry__router-link" tag="div">
<div class="room-entry__header" v-if="image"> <div class="room-entry__header" v-if="image">
<img :src="image" :alt="title" class="room-entry__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>
<div class="room-entry__content"> <div class="room-entry__content">
<h2 class="room-entry__title"> <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"> <button type="submit" data-cy="room-form-save" class="button button--primary room-form__save-button">
Speichern Speichern
</button> </button>
<<<<<<< HEAD
<router-link to="/rooms" tag="button" class="button"> Abbrechen </router-link> <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> </template>
</page-form> </page-form>
</template> </template>

View File

@ -1,6 +1,27 @@
<template> <template>
<<<<<<< HEAD
<div :class="roomClass" class="room-widget"> <div :class="roomClass" class="room-widget">
<router-link :to="{ name: 'room', params: { slug: slug } }" tag="div" class="room-widget__content"> <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"> <h2 class="room-widget__title">
{{ title }} {{ title }}
</h2> </h2>

View File

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

View File

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

View File

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