liquid_feedback_frontend
diff app/main/member/show.lua @ 1530:94d6843fdc94
Add language chooser to profile page
author | bsw |
---|---|
date | Mon Sep 21 18:44:25 2020 +0200 (2020-09-21) |
parents | b06da8ab308d |
children | 5c925bcc9036 |
line diff
1.1 --- a/app/main/member/show.lua Mon Sep 14 18:31:20 2020 +0200 1.2 +++ b/app/main/member/show.lua Mon Sep 21 18:44:25 2020 +0200 1.3 @@ -63,6 +63,11 @@ 1.4 1.5 ui.grid{ content = function() 1.6 ui.cell_main{ content = function() 1.7 + 1.8 + if app.session.member_id == member.id then 1.9 + execute.view{ module = "index", view = "_lang_chooser" } 1.10 + end 1.11 + 1.12 ui.container{ attr = { class = "mdl-card mdl-card__fullwidth mdl-shadow--2dp" }, content = function() 1.13 1.14 ui.container{ attr = { class = "mdl-card__title mdl-card--border" }, content = function()