comparison frontends/src/jp/cmd_info.py @ 2347:b6dee1f66478

jp (info/disco): fixed headers order for items table
author Goffi <goffi@goffi.org>
date Wed, 23 Aug 2017 00:52:36 +0200
parents c903c259402a
children 8b37a62336c3
comparison
equal deleted inserted replaced
2346:c903c259402a 2347:b6dee1f66478
109 extensions_tpl.append(u'{type_}\n{fields}'.format(type_=type_, 109 extensions_tpl.append(u'{type_}\n{fields}'.format(type_=type_,
110 fields='\n\n'.join(fields))) 110 fields='\n\n'.join(fields)))
111 111
112 items_table = common.Table(self.host, 112 items_table = common.Table(self.host,
113 items, 113 items,
114 headers=(_(u'name'), 114 headers=(_(u'entity'),
115 _(u'entity'), 115 _(u'node'),
116 _(u'node')), 116 _(u'name')),
117 use_buffer=True) 117 use_buffer=True)
118 118
119 template = [] 119 template = []
120 if features: 120 if features:
121 template.append(A.color(C.A_HEADER, _(u"Features")) + u"\n\n{features}") 121 template.append(A.color(C.A_HEADER, _(u"Features")) + u"\n\n{features}")