# HG changeset patch # User bsw # Date 1453889786 -3600 # Node ID 9578cef4018a05f7c6e14ae4c5993f250819049b # Parent ae9812d9f6536d18b46d02eeddc6e53d94c3fe36 More readable phase duration in issue sidebar diff -r ae9812d9f653 -r 9578cef4018a app/main/issue/_sidebar_state.lua --- a/app/main/issue/_sidebar_state.lua Mon Dec 21 12:21:52 2015 +0100 +++ b/app/main/issue/_sidebar_state.lua Wed Jan 27 11:16:26 2016 +0100 @@ -99,7 +99,7 @@ content = time_left } elseif current_occured then - local phase_duration = issue[state .. "_time"] + local phase_duration = issue[state .. "_time_text"] ui.tag{ attr = { class = "right" }, content = _("#{duration}", { duration = format.interval_text(phase_duration) @@ -174,4 +174,4 @@ slot.put(encode.html_newlines(issue.admin_notice)) end ) end -end ) \ No newline at end of file +end )