File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change 18
18
Nessuna Attività, perchè non ne <a href =" #/activity/new" >crei</a > una nuova?
19
19
</span >
20
20
<template v-for =" activity in activityList " >
21
- <v-layout row >
22
- <v-flex xs9 >
23
21
24
22
25
- <v-list-tile :key =" activity.el" avatar @click =" " :href =" '#/activity/open/'+activity.name" >
26
- <v-list-tile-title ripple >
23
+
24
+ <v-list-tile :key =" activity.el" avatar @click =" " >
25
+ <v-list-tile-title ripple @click =" goToActivity(activity.name)" >
27
26
<b >{{ activity.name }}</b >
28
27
<small > {{activity.description}} </small >
29
28
</v-list-tile-title >
30
29
31
30
32
- </v-list-tile >
33
- </v-flex >
34
- <v-flex xs3 >
35
-
36
-
37
31
<v-btn flat icon color =" grey darken-1" ripple @click =" deleteActivity(activity.name)" >
38
32
<v-icon >delete</v-icon >
39
33
</v-btn >
40
34
<v-btn flat icon color =" grey darken-1" ripple :href =" '#/activity/edit/'+activity.name" >
41
35
<v-icon >edit</v-icon >
42
36
</v-btn >
43
- </v-flex >
44
- </v-layout >
37
+ </v-list-tile >
38
+
39
+
40
+
41
+
45
42
</template >
46
43
47
44
</v-list >
@@ -60,6 +57,9 @@ export default {
60
57
this .getActivities ();
61
58
},
62
59
methods: {
60
+ goToActivity : (name ) => {
61
+ window .location = ' #/activity/open/' + name
62
+ },
63
63
getActivities : function () {
64
64
let axios = this .$axios
65
65
let CB = this .$data .CB
You can’t perform that action at this time.
0 commit comments