liquid_feedback_frontend
changeset 1245:9578cef4018a
More readable phase duration in issue sidebar
author | bsw |
---|---|
date | Wed Jan 27 11:16:26 2016 +0100 (2016-01-27) |
parents | ae9812d9f653 |
children | d08e4cadd33c c0fd12b97d65 |
files | app/main/issue/_sidebar_state.lua |
line diff
1.1 --- a/app/main/issue/_sidebar_state.lua Mon Dec 21 12:21:52 2015 +0100 1.2 +++ b/app/main/issue/_sidebar_state.lua Wed Jan 27 11:16:26 2016 +0100 1.3 @@ -99,7 +99,7 @@ 1.4 content = time_left 1.5 } 1.6 elseif current_occured then 1.7 - local phase_duration = issue[state .. "_time"] 1.8 + local phase_duration = issue[state .. "_time_text"] 1.9 ui.tag{ attr = { class = "right" }, 1.10 content = _("#{duration}", { 1.11 duration = format.interval_text(phase_duration) 1.12 @@ -174,4 +174,4 @@ 1.13 slot.put(encode.html_newlines(issue.admin_notice)) 1.14 end ) 1.15 end 1.16 -end ) 1.17 \ No newline at end of file 1.18 +end )