<%page args="app"/> <% def application(app): id_query = u'?id=' + app['id'] unstoppable = '' if app['unstoppable']: unstoppable = 'unstoppable' q = app.get('queued') qa = app.get('active') qf = app.get('failed') qs = app.get('success') return u''' {q} {qa} {qf} {qs} Trace | Start | Stop | Remove {app[status]} {app[queue]} {app[name]} {app[entry]} {app[path]} {app[id]} '''.format(**vars()) %> ${application(app)}