liquid_feedback_frontend

view app/main/issue/_show_box.lua @ 52:88ac7798b562

Several bugfixes (getpic.c, accepted but canceled issues, ...); Listing of available policies

- Bugfixes in fastpath/getpic.c (related to crashes since alpha5)
- Respect Content-Types of images in database
(needs database update, as Content-Type was incorrectly stored by previous versions)
- Typo fixed in help messages
- RSS-Feed (currently only after manual authentication while session is valid)
- Listing of available policies
- German translation fixed: "gebe" -> "gib" (Imperativ)
- Bugfixes related to issues which had been accepted but canceled afterwards
- Prohibit creation of initiatives in disabled areas or with disabled policies
author bsw/jbe
date Thu Apr 15 19:58:25 2010 +0200 (2010-04-15)
parents 00d1004545f1
children d13b27a37ad5
line source
1 local issue = param.get("issue", "table")
3 slot.select("issue_info", function()
4 ui.tag{
5 tag = "div",
6 content = function()
7 ui.tag{
8 tag = "label",
9 attr = { class = "ui_field_label" },
10 content = _"Policy",
11 }
12 ui.tag{
13 content = function()
14 ui.link{
15 text = issue.policy.name,
16 module = "policy",
17 view = "show",
18 id = issue.policy.id
19 }
20 end
21 }
23 end
24 }
26 ui.field.text{
27 label = _"State",
28 value = issue.state_name
29 }
30 local time_left = issue.state_time_left
31 if time_left then
32 ui.field.text{
33 label = _"Time left",
34 value = time_left
35 }
36 end
37 local next_state_names = issue.next_states_names
38 if next_state_names then
39 ui.field.text{
40 label = _"Next state",
41 value = next_state_names
42 }
43 end
44 end)

Impressum / About Us