Skip to content
Snippets Groups Projects
Commit b6ac398a authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms
Browse files

rework more courseware sidebar links to actual anchors, fixes #953

Closes #953
parent 4726723a
No related branches found
No related tags found
No related merge requests found
<template>
<ul class="widget-list widget-links cw-action-widget">
<li v-if="templatesView" class="cw-action-widget-add" @click="addTemplate">
<translate>Vorlage hinzufügen</translate>
<li v-if="templatesView" class="cw-action-widget-add">
<a href="#" @click.prevent="addTemplate">
<translate>Vorlage hinzufügen</translate>
</a>
</li>
</ul>
</template>
......@@ -27,4 +29,4 @@ export default {
}
}
}
</script>
\ No newline at end of file
</script>
<template>
<ul class="widget-list widget-links sidebar-views cw-view-widget">
<li
:class="{ active: templatesView }"
@click="setTemplatesView"
>
<translate>Vorlagen</translate>
<li :class="{ active: templatesView }">
<a href="#" @click.prevent="setTemplatesView">
<translate>Vorlagen</translate>
</a>
</li>
</ul>
</template>
......@@ -28,4 +27,4 @@ export default {
}
}
</script>
\ No newline at end of file
</script>
<template>
<ul class="widget-list widget-links cw-action-widget">
<li class="cw-action-widget-add" @click="addElement">
<translate>Neues Lernmaterial anlegen</translate>
<li class="cw-action-widget-add" >
<a href="#" @click.prevent="addElement">
<translate>Neues Lernmaterial anlegen</translate>
</a>
</li>
</ul>
</template>
......
<template>
<ul class="widget-list widget-links sidebar-views cw-view-widget">
<li
:class="{ active: defaultView }"
@click="setDefaultView"
>
<translate>Standard</translate>
<li :class="{ active: defaultView }">
<a href="#" @click.prevent="setDefaultView">
<translate>Standard</translate>
</a>
</li>
<li
:class="{ active: taskView }"
@click="setTaskView"
>
<translate>Aufgaben</translate>
<li :class="{ active: taskView }">
<a href="#" @click.prevent="setTaskView">
<translate>Aufgaben</translate>
</a>
</li>
<li
:class="{ active: activityView }"
@click="setActivityView"
>
<translate>Aktivitäten</translate>
<li :class="{ active: activityView }">
<a href="#" @click.prevent="setActivityView">
<translate>Aktivitäten</translate>
</a>
</li>
</ul>
</template>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment