liquid_feedback_frontend
view app/main/issue/_show_box.lua @ 2:5c601807d397
Version alpha3
Dark green part of issue supporter bargraph represents all satisfied supporters, regardless of having seen the latest draft
Wiki formatting for drafts
Showing differences between two drafts of the same initiative
Display of outgoing delegation chains
Many other improvements
Dark green part of issue supporter bargraph represents all satisfied supporters, regardless of having seen the latest draft
Wiki formatting for drafts
Showing differences between two drafts of the same initiative
Display of outgoing delegation chains
Many other improvements
author | bsw |
---|---|
date | Mon Nov 23 12:00:00 2009 +0100 (2009-11-23) |
parents | |
children | 768faea1096d |
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 states",
19 value = next_state_names
20 }
21 end
22 end)