liquid_feedback_frontend

diff app/main/issue/_details.lua @ 937:c4e4be01285c

Correct formatting of timestamps and interval in issue and initiatve details added
author bsw
date Sun Nov 04 18:51:07 2012 +0100 (2012-11-04)
parents 319161d5a904
children
line diff
     1.1 --- a/app/main/issue/_details.lua	Sun Nov 04 18:50:21 2012 +0100
     1.2 +++ b/app/main/issue/_details.lua	Sun Nov 04 18:51:07 2012 +0100
     1.3 @@ -11,7 +11,7 @@
     1.4      if policy.polling then
     1.5        ui.field.text{       label = _"Admission time",        value = _"Implicitly admitted" }
     1.6      else
     1.7 -      ui.field.text{       label = _"Admission time",        value = issue.admission_time }
     1.8 +      ui.field.text{       label = _"Admission time",        value = format.interval_text(issue.admission_time_text) }
     1.9        ui.field.text{
    1.10          label = _"Issue quorum",
    1.11          value = format.percentage(policy.issue_quorum_num / policy.issue_quorum_den)
    1.12 @@ -26,11 +26,11 @@
    1.13      if issue.accepted then
    1.14        ui.field.timestamp{  label = _"Accepted at",           name = "accepted" }
    1.15      end
    1.16 -    ui.field.text{       label = _"Discussion time",       value = issue.discussion_time }
    1.17 +    ui.field.text{       label = _"Discussion time",       value = format.interval_text(issue.discussion_time_text) }
    1.18      if issue.half_frozen then
    1.19        ui.field.timestamp{  label = _"Half frozen at",        name = "half_frozen" }
    1.20      end
    1.21 -    ui.field.text{       label = _"Verification time",     value = issue.verification_time }
    1.22 +    ui.field.text{       label = _"Verification time",     value = format.interval_text(issue.verification_time_text) }
    1.23      ui.field.text{
    1.24        label   = _"Initiative quorum",
    1.25        value = format.percentage(policy.initiative_quorum_num / policy.initiative_quorum_den)
    1.26 @@ -44,7 +44,7 @@
    1.27      if issue.fully_frozen then
    1.28        ui.field.timestamp{  label = _"Fully frozen at",       name = "fully_frozen" }
    1.29      end
    1.30 -    ui.field.text{       label = _"Voting time",           value = issue.voting_time }
    1.31 +    ui.field.text{       label = _"Voting time",           value = format.interval_text(issue.voting_time_text) }
    1.32      if issue.closed then
    1.33        ui.field.timestamp{  label = _"Closed",                name = "closed" }
    1.34      end

Impressum / About Us