From e985f2e81aabc6aafc7a68c65ba9430df83ab1f8 Mon Sep 17 00:00:00 2001
From: Christian Hofmaier
Date: Mon, 20 May 2019 01:42:57 +0000
Subject: [eventmanager] add tutorial classes + fix 'name not empty' bug

---
 webapp/src/components/EventModuleEventList.vue | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'webapp/src/components/EventModuleEventList.vue')

diff --git a/webapp/src/components/EventModuleEventList.vue b/webapp/src/components/EventModuleEventList.vue
index f07b6e9..038c296 100644
--- a/webapp/src/components/EventModuleEventList.vue
+++ b/webapp/src/components/EventModuleEventList.vue
@@ -24,15 +24,15 @@
     <v-card>
       <data-table v-model="selectedEvents" :headers="headers" :items="events" @dblclick="editEvent($event)">
         <div slot="action" slot-scope="row" style="text-align: right">
-          <v-btn flat icon color="primary" @click.stop="editEvent(row.item)"><v-icon>edit</v-icon></v-btn>
+          <v-btn flat icon color="primary" @click.stop="editEvent(row.item)" :class="row.index === 0 ? 'tutorial-element label-top-left element-icon' : ''" style="--label-number: '3'"><v-icon>edit</v-icon></v-btn>
         </div>
       </data-table>
     </v-card>
     <div class="text-xs-right">
-      <v-btn color="error" flat @click="deleteEvent" :disabled="selectedEvents.length === 0">
+      <v-btn color="error" flat @click="deleteEvent" :disabled="selectedEvents.length === 0" class="tutorial-element label-left" style="--label-number: '2'">
         <v-icon left>remove_circle_outline</v-icon>{{ $tc('delete-event', selectedEvents.length, [selectedEvents.length]) }}
       </v-btn>
-      <v-btn color="success" flat @click="createEvent">
+      <v-btn color="success" flat @click="createEvent" class="tutorial-element label-right" style="--label-number: '1'">
         <v-icon left>add_circle_outline</v-icon>{{ $t('create-event') }}
       </v-btn>
     </div>
-- 
cgit v1.2.3-55-g7522

