liquid_feedback_frontend
view app/main/member/_menu.lua @ 1309:32cc544d5a5b
Cumulative patch for upcoming frontend version 4
author | bsw/jbe |
---|---|
date | Sun Jul 15 14:07:29 2018 +0200 (2018-07-15) |
parents | |
children |
line source
1 local item_class = param.get("item_class")
2 local link_class = param.get("link_class")
5 ui.tag{ tag = "li", attr = { class = item_class }, content = function()
6 ui.link{
7 content = _"profile and settings",
8 attr = { class = link_class },
9 module = "member",
10 view = "show",
11 id = app.session.member_id
12 }
13 end }
15 execute.view{ module = "member", view = "_agent_menu" }
17 ui.tag{ tag = "li", attr = { class = item_class }, content = function()
18 ui.link{
19 text = _"logout",
20 attr = { class = link_class },
21 module = 'index',
22 action = 'logout',
23 routing = {
24 default = {
25 mode = "redirect",
26 module = "index",
27 view = "index"
28 }
29 }
30 }
31 end }