liquid_feedback_frontend
view app/main/member/_menu.lua @ 1849:c3dba3a85be3
Fixed translations
| author | bsw |
|---|---|
| date | Thu Feb 03 16:10:39 2022 +0100 (2022-02-03) |
| parents | 32cc544d5a5b |
| 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 }
