liquid_feedback_frontend
changeset 1101:b18e198c2624
Show administrative notice in any case as long as a message is set
author | bsw |
---|---|
date | Mon Oct 27 12:03:54 2014 +0100 (2014-10-27) |
parents | 41f55e4cb905 |
children | 9e3f73a026db |
files | app/main/issue/_sidebar_state.lua |
line diff
1.1 --- a/app/main/issue/_sidebar_state.lua Mon Oct 27 12:03:08 2014 +0100 1.2 +++ b/app/main/issue/_sidebar_state.lua Mon Oct 27 12:03:54 2014 +0100 1.3 @@ -166,12 +166,12 @@ 1.4 ui.sidebarSection( function() 1.5 ui.heading { level = 1, content = issue.state_name } 1.6 end ) 1.7 - if issue.admin_notice then 1.8 - ui.sidebarSection( function() 1.9 - ui.heading { level = 3, content = _"Administrative notice:" } 1.10 - slot.put(encode.html_newlines(issue.admin_notice)) 1.11 - end ) 1.12 - end 1.13 end 1.14 1.15 + if issue.admin_notice then 1.16 + ui.sidebarSection( function() 1.17 + ui.heading { level = 3, content = _"Administrative notice:" } 1.18 + slot.put(encode.html_newlines(issue.admin_notice)) 1.19 + end ) 1.20 + end 1.21 end ) 1.22 \ No newline at end of file