blob: e428cbe6e888e4199b32c576c6ac2ead9ed9c821 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
<template>
<sidebar-widget id="courseware-action-widget" :title="$gettext('Aktionen')">
<template #content>
<ul class="widget-list widget-links cw-action-widget">
<li class="cw-action-widget-add">
<button @click="setShowTasksDistributeDialog(true)">
{{ $gettext('Aufgabe verteilen') }}
</button>
</li>
</ul>
</template>
</sidebar-widget>
</template>
<script>
import SidebarWidget from '../SidebarWidget.vue';
import { mapActions } from 'vuex';
export default {
name: 'courseware-tasks-action-widget',
components: {
SidebarWidget,
},
methods: {
...mapActions({
setShowTasksDistributeDialog: 'setShowTasksDistributeDialog',
}),
}
}
</script>
|