liquid_feedback_frontend
view app/main/member/_menu.lua @ 1858:3d1f0464a3ea
Handle missing ldap.member.allowed function
| author | bsw | 
|---|---|
| date | Tue Sep 20 17:35:29 2022 +0200 (2022-09-20) | 
| 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 }
