<%inherit file="/base_app.html"/> <%block name="right_content"> % if app:

${_(u'运行状态')}

${_(u'测试环境')} % if app.is_already_test and app.state not in [1]: ${_(u'正在运行')} % else: % if not app.is_already_test and app.state not in [1]: ${_(u'已下架')} % else: ${_(u'未部署')} % endif % endif % if app.is_already_test and app.state not in [1]: ${_(u'马上访问')} % else: ${_(u'马上访问')} % endif ${_(u'正式环境')} % if app.is_already_online and app.state not in [0, 1]: ${_(u'正在运行')} % else: % if not app.is_already_online and app.state in [0]: ${_(u'已下架')} % else: ${_(u'未部署')} % endif % endif % if app.is_already_online and app.state not in [0, 1]: ${_(u'马上访问')} % else: ${_(u'马上访问')} % endif

${_(u'执行操作')} % if app.state in [8]: ${_(u'应用正在“测试部署”,请稍后进行其他操作!')} % elif app.state in [9]: ${_(u'应用正在“正式部署”,请稍后进行其他操作!')} % elif app.state in [10]: ${_(u'应用正在“下架”,请稍后进行其他操作!')} % else: % if lastest_record: ${_(u'最近操作')}:${lastest_record['username']} ${_(u'于')}${lastest_record['datetime']} ${_(u'进行')}${lastest_record['operate_type']} ${_(u'操作')}${lastest_record['result']} % endif % endif ${_(u'开发框架代码 & 配置修改')}

% else:
${_(u'您访问的应用信息不存在!')}
% endif