liquid_feedback_frontend
annotate app/main/draft/_show.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 | 00d1004545f1 |
| rev | line source |
|---|---|
| bsw/jbe@0 | 1 local draft = param.get("draft", "table") |
| bsw/jbe@0 | 2 |
| bsw/jbe@0 | 3 ui.form{ |
| bsw/jbe@0 | 4 attr = { class = "vertical" }, |
| bsw/jbe@0 | 5 record = draft, |
| bsw/jbe@0 | 6 readonly = true, |
| bsw/jbe@0 | 7 content = function() |
| bsw/jbe@0 | 8 |
| bsw@10 | 9 ui.field.text{ label = _"Last author", name = "author_name" } |
| bsw@2 | 10 ui.field.timestamp{ label = _"Created at", name = "created" } |
| bsw@2 | 11 ui.container{ |
| bsw/jbe@4 | 12 attr = { class = "draft_content wiki" }, |
| bsw@2 | 13 content = function() |
| bsw/jbe@4 | 14 slot.put(format.wiki_text(draft.content, draft.formatting_engine)) |
| bsw@2 | 15 end |
| bsw@2 | 16 } |
| bsw/jbe@0 | 17 end |
| bsw/jbe@0 | 18 } |