liquid_feedback_frontend
diff app/main/issue/_show_head.lua @ 273:7196685f9dd7
More optical enhancements, more repositioning
author | bsw |
---|---|
date | Wed Feb 08 18:49:22 2012 +0100 (2012-02-08) |
parents | 65a1f7a01e7b |
children | aec9df5b4cd3 |
line diff
1.1 --- a/app/main/issue/_show_head.lua Wed Feb 08 00:55:17 2012 +0100 1.2 +++ b/app/main/issue/_show_head.lua Wed Feb 08 18:49:22 2012 +0100 1.3 @@ -22,7 +22,7 @@ 1.4 view = "show", 1.5 id = issue.id 1.6 } 1.7 - slot.put(" · ") 1.8 + slot.put(" · ") 1.9 ui.link{ 1.10 content = issue.area.name, 1.11 module = "area", 1.12 @@ -69,16 +69,14 @@ 1.13 slot.put(" · ") 1.14 ui.tag{ content = issue.state_name } 1.15 1.16 - slot.put(" · ") 1.17 - local time_left = issue.state_time_left 1.18 - if time_left then 1.19 - ui.tag{ content = _("#{time_left} left", { time_left = time_left }) } 1.20 + if issue.state_time_left then 1.21 + slot.put(" · ") 1.22 + ui.tag{ content = _("#{time_left} left", { time_left = issue.state_time_left }) } 1.23 end 1.24 1.25 - slot.put(" · ") 1.26 - local next_state_names = issue.next_states_names 1.27 - if next_state_names then 1.28 - ui.tag{ content = _("Next state: #{state}", { state = next_state_names }) } 1.29 + if issue.next_states_names then 1.30 + slot.put(" · ") 1.31 + ui.tag{ content = _("Next state: #{state}", { state = issue.next_states_names }) } 1.32 end 1.33 end 1.34 }