annotate app/main/admin/index.lua @ 1007:c547d1cce741
View for administrative issue canceling
author |
bsw |
date |
Sun Aug 11 21:57:38 2013 +0200 (2013-08-11) |
parents |
74f768a162e1 |
children |
701a5cf6b067 |
rev |
line source |
bsw/jbe@0
|
1 slot.put_into("title", _"Admin menu")
|
bsw/jbe@0
|
2
|
bsw/jbe@0
|
3
|
bsw@371
|
4 ui.tag{ tag = "ul", content = function()
|
bsw@371
|
5 ui.tag{ tag= "li", content = function()
|
bsw@371
|
6 ui.link{
|
bsw@371
|
7 text = _"Policies",
|
bsw@371
|
8 module = "admin",
|
bsw@371
|
9 view = "policy_list",
|
bsw@371
|
10 }
|
bsw@371
|
11 end }
|
bsw@371
|
12 ui.tag{ tag= "li", content = function()
|
bsw@371
|
13 ui.link{
|
bsw@371
|
14 text = _"Units",
|
bsw@371
|
15 module = "admin",
|
bsw@371
|
16 view = "unit_list",
|
bsw@371
|
17 }
|
bsw@371
|
18 end }
|
bsw@371
|
19 ui.tag{ tag= "li", content = function()
|
bsw@371
|
20 ui.link{
|
bsw@371
|
21 text = _"Members",
|
bsw@371
|
22 module = "admin",
|
bsw@371
|
23 view = "member_list",
|
bsw@371
|
24 }
|
bsw@371
|
25 end }
|
bsw@1007
|
26 ui.tag{ tag= "li", content = function()
|
bsw@1007
|
27 ui.link{
|
bsw@1007
|
28 text = _"Cancel issue",
|
bsw@1007
|
29 module = "admin",
|
bsw@1007
|
30 view = "cancel_issue",
|
bsw@1007
|
31 }
|
bsw@1007
|
32 end }
|
bsw@1007
|
33 end }
|
bsw@1007
|
34
|