Fix readable event urls
@@ -109,13 +109,13 @@ def get_event_context(event):
def get_readable_event(event_context):
description = '{} on {}'.format(event_context.subject_action, event_context.datetime)
if event_context.actor_context:
- description += '\nActor: [{}](/app{})'.format(
+ description += '\nActor: [{}]({})'.format(
event_context.actor_context.name,
event_context.actor_context.url,
)
if event_context.object_context.name and event_context.object_context.url:
- description += '\nObject: [{}](/app{})'.format(
+ description += '\nObject: [{}]({})'.format(
event_context.object_context.name,
event_context.object_context.url,
)
