liquid_feedback_frontend
diff app/main/member/_show.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 | 80c215dbf076 |
line diff
1.1 --- a/app/main/member/_show.lua Mon Nov 23 12:00:00 2009 +0100 1.2 +++ b/app/main/member/_show.lua Mon Nov 30 12:00:00 2009 +0100 1.3 @@ -5,8 +5,12 @@ 1.4 record = member, 1.5 readonly = true, 1.6 content = function() 1.7 - ui.field.boolean{ label = _"Admin?", name = "admin" } 1.8 - ui.field.boolean{ label = _"Locked?", name = "locked" } 1.9 + if member.admin then 1.10 + ui.field.boolean{ label = _"Admin?", name = "admin" } 1.11 + end 1.12 + if member.locked then 1.13 + ui.field.boolean{ label = _"Locked?", name = "locked" } 1.14 + end 1.15 if member.ident_number then 1.16 ui.field.text{ label = _"Ident number", name = "ident_number" } 1.17 end