# HG changeset patch # User bsw # Date 1600706808 -7200 # Node ID 5c925bcc90362d2e4271ecd89374177f0b605944 # Parent 94d6843fdc94564fc2ba8e5018527abd84214b0d Move language chooser on profile page diff -r 94d6843fdc94 -r 5c925bcc9036 app/main/member/show.lua --- a/app/main/member/show.lua Mon Sep 21 18:44:25 2020 +0200 +++ b/app/main/member/show.lua Mon Sep 21 18:46:48 2020 +0200 @@ -64,11 +64,11 @@ ui.grid{ content = function() ui.cell_main{ content = function() - if app.session.member_id == member.id then - execute.view{ module = "index", view = "_lang_chooser" } - end - ui.container{ attr = { class = "mdl-card mdl-card__fullwidth mdl-shadow--2dp" }, content = function() + + if app.session.member_id == member.id then + execute.view{ module = "index", view = "_lang_chooser" } + end ui.container{ attr = { class = "mdl-card__title mdl-card--border" }, content = function() ui.heading { attr = { class = "mdl-card__title-text" }, level = 2, content = function()