## upgrade block rendered afte on-click check
%if c.should_upgrade: A new version is available: %if c.latest_data.get('title'): ${h.literal(c.latest_data['title'])} %else: ${c.latest_ver} %endif %else: This instance is already running the latest stable version ${c.latest_ver}. %endif
% if c.should_upgrade and c.important_notices: