display contact IDs in 'events' command output
This commit is contained in:
parent
239194bdf3
commit
6cd26c9f3f
1 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,7 @@ class EventListFormatter(PrettyFormatter):
|
|||
def get_title(self, event):
|
||||
s = u'(%s) %s' % (event.date, event.type)
|
||||
if hasattr(event, 'contact') and event.contact:
|
||||
s += u' — %s' % (event.contact.name)
|
||||
s += u' — %s (%s)' % (event.contact.name, event.contact.id)
|
||||
|
||||
return s
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue