liquid_feedback_frontend
diff app/main/interest/_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 | 3bfb2fcf7ab9 | 
| children | 80c215dbf076 | 
   line diff
1.1 --- a/app/main/interest/_show_box.lua Mon Nov 23 12:00:00 2009 +0100 1.2 +++ b/app/main/interest/_show_box.lua Mon Nov 30 12:00:00 2009 +0100 1.3 @@ -22,6 +22,14 @@ 1.4 ui.container{ 1.5 attr = { class = "content", id = "interest_content" }, 1.6 content = function() 1.7 + ui.container{ 1.8 + attr = { 1.9 + class = "close", 1.10 + style = "cursor: pointer;", 1.11 + onclick = "document.getElementById('interest_content').style.display = 'none';" 1.12 + }, 1.13 + content = _"X" 1.14 + } 1.15 if interest then 1.16 ui.link{ 1.17 content = _"Remove my interest", 1.18 @@ -30,6 +38,8 @@ 1.19 params = { issue_id = issue.id, delete = true }, 1.20 routing = { default = { mode = "redirect", module = "issue", view = "show", id = issue.id } } 1.21 } 1.22 + slot.put("<br />") 1.23 + slot.put("<br />") 1.24 if interest.autoreject then 1.25 ui.field.text{ value = _"Autoreject is on." } 1.26 ui.link{ 1.27 @@ -58,14 +68,6 @@ 1.28 routing = { default = { mode = "redirect", module = "issue", view = "show", id = issue.id } } 1.29 } 1.30 end 1.31 - ui.container{ 1.32 - attr = { 1.33 - class = "head", 1.34 - style = "cursor: pointer;", 1.35 - onclick = "document.getElementById('interest_content').style.display = 'none';" 1.36 - }, 1.37 - content = _"Click here to close." 1.38 - } 1.39 end 1.40 } 1.41 end)