Card refinements
This commit is contained in:
@@ -211,11 +211,15 @@ class NotificationsPlugin(BasePlugin):
|
||||
'severity': 'info',
|
||||
'empty': 'hide',
|
||||
'position': 60,
|
||||
# Stacked, not inline: the type is a label and the message is
|
||||
# prose. On one line the type gets truncated to make room for
|
||||
# text that then gets truncated anyway, and neither is
|
||||
# readable.
|
||||
'layout': 'stacked',
|
||||
'map': {
|
||||
'title': 'typename',
|
||||
'detail': 'message',
|
||||
'meta': [{'key': 'endtime', 'label': 'until',
|
||||
'format': 'date'}],
|
||||
'detailtooltip': 'fullmessage',
|
||||
'link': '/notifications/{notificationid}',
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user