liquid_feedback_frontend

changeset 1520:97b7b783db42

Show location selector in new draft view
author bsw
date Thu Aug 20 15:15:11 2020 +0200 (2020-08-20)
parents 056bccb61eee
children 0d74a25bd399
files app/main/draft/new.lua
line diff
     1.1 --- a/app/main/draft/new.lua	Thu Aug 20 15:08:00 2020 +0200
     1.2 +++ b/app/main/draft/new.lua	Thu Aug 20 15:15:11 2020 +0200
     1.3 @@ -400,6 +400,15 @@
     1.4            end }
     1.5          end }
     1.6        end }
     1.7 +
     1.8 +      if config.map or config.firstlife then
     1.9 +        ui.cell_sidebar{ content = function()
    1.10 +          ui.container{ attr = { class = "mdl-special-card map mdl-shadow--2dp" }, content = function()
    1.11 +            ui.field.location{ name = "location", value = param.get("location") }
    1.12 +          end }
    1.13 +        end }
    1.14 +      end
    1.15 +
    1.16      end }
    1.17    end
    1.18  }

Impressum / About Us