Commit 730983f 1 parent b14d4ba commit 730983f Copy full SHA for 730983f
File tree 3 files changed +19
-25
lines changed
3 files changed +19
-25
lines changed Original file line number Diff line number Diff line change @@ -15,17 +15,16 @@ class Todo(List):
15
15
"message" ,
16
16
"user" ,
17
17
),
18
- # LIVE (3)
19
18
"views" : [
20
19
{
21
- "icon" : "chat-dots-fill" , # LIVE (4)
22
20
"name" : "Service - Neu" ,
21
+ "icon" : "chat-dots-fill" ,
23
22
"filter" : {
24
23
"category" : "service" ,
25
24
"status" : "new" ,
26
25
},
27
26
"actions" : ["assign" ],
28
- "customActions" : { # LIVE(5)
27
+ "customActions" : {
29
28
"assign" : {
30
29
"name" : "Zuweisen" , # button name
31
30
"access" : ["todo-edit" , "root" ], # Who may trigger?
@@ -40,7 +39,7 @@ class Todo(List):
40
39
},
41
40
},
42
41
}
43
- ]
42
+ ],
44
43
}
45
44
46
45
default_order = {
Original file line number Diff line number Diff line change 3
3
4
4
5
5
class TodoSkel (skeleton .Skeleton ):
6
- subSkels = {
7
- "*" : ("*name" , ),
8
- "add" : ["subject" ],
9
- }
10
-
11
- # FIXME: viur-core
12
- creationdate = DateBone (
13
- descr = "Erstellt am" ,
14
- readOnly = True ,
15
- visible = False ,
16
- indexed = True ,
17
- compute = Compute (fn = utils .utcNow , interval = ComputeInterval (ComputeMethod .Once )),
18
- )
19
6
20
7
firstname = StringBone (
21
8
descr = "Vorname" ,
@@ -26,24 +13,32 @@ class TodoSkel(skeleton.Skeleton):
26
13
required = True ,
27
14
)
28
15
16
+ building = SelectBone (
17
+ descr = "Gebäude" ,
18
+ required = True ,
19
+ values = (
20
+ "Kanalhafen 23" ,
21
+ "Kohlenhafen 13" ,
22
+ "Petroleumhafen 42" ,
23
+ "Stadthafen 1a" ,
24
+ "Stadthafen 1b" ,
25
+ "Südhafen 9" ,
26
+ )
27
+ )
28
+
29
29
category = SelectBone (
30
30
descr = "Thema" ,
31
31
defaultValue = "question" ,
32
32
required = True ,
33
33
values = {
34
- "question" : "Frage " ,
34
+ "question" : "Anfrage " ,
35
35
"billing" : "Abrechnung" ,
36
36
"service" : "Service" ,
37
37
},
38
38
)
39
39
40
- # LIVE (1)
41
40
phone = PhoneBone (
42
- descr = "Telefon" ,
43
- default_country_code = "+49" ,
44
- params = {
45
- "visibleIf" : """ category == "service" """ # LIVE(2)
46
- }
41
+ default_
47
42
)
48
43
49
44
message = TextBone (
Original file line number Diff line number Diff line change 6
6
"admin" : {
7
7
"command" : " viur package install admin" ,
8
8
"kind" : " exec" ,
9
- "version" : " 4.5.1 "
9
+ "version" : " 4.5.3 "
10
10
},
11
11
"app" : {
12
12
"command" : " build" ,
You can’t perform that action at this time.
0 commit comments