liquid_feedback_frontend
diff app/main/initiative/_details.lua @ 907:319161d5a904
Some text phrases updated
author | bsw |
---|---|
date | Sun Sep 23 16:36:44 2012 +0200 (2012-09-23) |
parents | cc64a4fc6ab6 |
children | c4e4be01285c |
line diff
1.1 --- a/app/main/initiative/_details.lua Sun Sep 23 16:31:32 2012 +0200 1.2 +++ b/app/main/initiative/_details.lua Sun Sep 23 16:36:44 2012 +0200 1.3 @@ -5,6 +5,22 @@ 1.4 record = initiative, 1.5 readonly = true, 1.6 content = function() 1.7 + ui.field.text{ 1.8 + label = _"Created at", 1.9 + value = tostring(initiative.created) 1.10 + } 1.11 + if initiative.revoked then 1.12 + ui.field.text{ 1.13 + label = _"Revoked at", 1.14 + value = format.timestamp(initiative.revoked) 1.15 + } 1.16 + end 1.17 + if initiative.admitted ~= nil then 1.18 + ui.field.boolean{ label = _"Admitted", name = "admitted" } 1.19 + end 1.20 + if initiative.issue.fully_frozen and initiative.polling then 1.21 + ui.field.text{ label = _"Admitted", value = "Implicitly admitted" } 1.22 + end 1.23 if initiative.issue.closed then 1.24 ui.field.boolean{ label = _"Direct majority", value = initiative.direct_majority } 1.25 ui.field.boolean{ label = _"Indirect majority", value = initiative.indirect_majority } 1.26 @@ -25,19 +41,6 @@ 1.27 } 1.28 ui.field.boolean{ label = _"Eligible as winner", value = initiative.eligible } 1.29 end 1.30 - ui.field.text{ 1.31 - label = _"Created at", 1.32 - value = tostring(initiative.created) 1.33 - } 1.34 - if initiative.revoked then 1.35 - ui.field.text{ 1.36 - label = _"Revoked at", 1.37 - value = format.timestamp(initiative.revoked) 1.38 - } 1.39 - end 1.40 - if initiative.admitted ~= nil then 1.41 - ui.field.boolean{ label = _"Admitted", name = "admitted" } 1.42 - end 1.43 end 1.44 } 1.45