Mercurial > libervia-backend
comparison frontends/src/jp/cmd_event.py @ 2301:137ed5fbcbfd
jp (event/invitee/list): don't add a space after nick and jid when a table is displayed
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 05 Jul 2017 14:50:13 +0200 |
parents | 173d56315529 |
children | c2a9da96e40b |
comparison
equal
deleted
inserted
replaced
2300:173d56315529 | 2301:137ed5fbcbfd |
---|---|
258 | 258 |
259 table = common.Table.fromDict(self.host, | 259 table = common.Table.fromDict(self.host, |
260 data, | 260 data, |
261 (u'nick',) + ((u'jid',) if self.host.verbosity else ()) + (u'attend', 'guests'), | 261 (u'nick',) + ((u'jid',) if self.host.verbosity else ()) + (u'attend', 'guests'), |
262 headers=None, | 262 headers=None, |
263 filters = { u'nick': A.color(C.A_HEADER, u'{} '), | 263 filters = { u'nick': A.color(C.A_HEADER, u'{}' if show_table else u'{} '), |
264 u'jid': u'{} ', | 264 u'jid': u'{}' if show_table else u'{} ', |
265 u'attend': self._attend_filter, | 265 u'attend': self._attend_filter, |
266 u'guests': u'{}' if show_table else self._guests_filter, | 266 u'guests': u'{}' if show_table else self._guests_filter, |
267 }, | 267 }, |
268 defaults = { u'nick': u'', | 268 defaults = { u'nick': u'', |
269 u'attend': u'', | 269 u'attend': u'', |