liquid_feedback_frontend
view app/main/member/developer_settings.lua @ 27:0929c483458e
Corrected german translation of "not approved"
author | bsw |
---|---|
date | Sun Feb 21 15:43:27 2010 +0100 (2010-02-21) |
parents | 72c5e0ee7c98 |
children | 0849be391140 |
line source
1 slot.put_into("title", _"Developer features")
3 slot.select("actions", function()
4 ui.link{
5 content = function()
6 ui.image{ static = "icons/16/cancel.png" }
7 slot.put(_"Cancel")
8 end,
9 module = "member",
10 view = "settings"
11 }
12 end)
14 ui.form{
15 attr = { class = "vertical" },
16 module = "member",
17 action = "update_stylesheet_url",
18 routing = {
19 ok = {
20 mode = "redirect",
21 module = "index",
22 view = "index"
23 }
24 },
25 content = function()
26 local setting_key = "liquidfeedback_frontend_stylesheet_url"
27 local setting = Setting:by_pk(app.session.member.id, setting_key)
28 local value = setting and setting.value
29 ui.field.text{
30 label = _"Stylesheet URL",
31 name = "stylesheet_url",
32 value = value
33 }
34 ui.submit{ value = _"Set URL" }
35 end
36 }