liquid_feedback_frontend
view app/main/member/developer_settings.lua @ 11:77d58efe99fd
Version beta7
Important security fixes:
- Added missing HTML encoding to postal address of member
- Link to discussion URL only if it starts with http(s)://
Other bugfixes:
- Fixed wrong display of 2nd level delegating voters for an initiative
- Do not display invited initiators as initiators while voting
- Added missing translation
New features:
- Public message of the day
- Both direct and indirect supporter count is shown in tab heads
- Support shown in initiative lists
Language chooser at the login page has been added (again)
Important security fixes:
- Added missing HTML encoding to postal address of member
- Link to discussion URL only if it starts with http(s)://
Other bugfixes:
- Fixed wrong display of 2nd level delegating voters for an initiative
- Do not display invited initiators as initiators while voting
- Added missing translation
New features:
- Public message of the day
- Both direct and indirect supporter count is shown in tab heads
- Support shown in initiative lists
Language chooser at the login page has been added (again)
| author | bsw |
|---|---|
| date | Fri Jan 22 12:00:00 2010 +0100 (2010-01-22) |
| 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 }
