liquid_feedback_frontend
view app/main/issue/_show_box.lua @ 3:768faea1096d
Version alpha4
Members interested in an issue or supporting an initiative have a weight information attached. Browsing the members causing that weight is possible.
Initiatives may provide a link to an external discussion platform
Direct link on every initiative page to create an alternative initiative
Bugfix: No error when clicking "neutral", when "neutral" is currently selected
Members interested in an issue or supporting an initiative have a weight information attached. Browsing the members causing that weight is possible.
Initiatives may provide a link to an external discussion platform
Direct link on every initiative page to create an alternative initiative
Bugfix: No error when clicking "neutral", when "neutral" is currently selected
author | bsw |
---|---|
date | Mon Nov 30 12:00:00 2009 +0100 (2009-11-30) |
parents | 5c601807d397 |
children | 00d1004545f1 |
line source
1 local issue = param.get("issue", "table")
3 slot.select("issue_info", function()
4 ui.field.text{
5 label = _"State",
6 value = issue.state_name
7 }
8 local time_left = issue.state_time_left
9 if time_left then
10 ui.field.text{
11 label = _"Time left",
12 value = time_left
13 }
14 end
15 local next_state_names = issue.next_states_names
16 if next_state_names then
17 ui.field.text{
18 label = _"Next state",
19 value = next_state_names
20 }
21 end
22 end)