|
@@ -235,17 +235,17 @@ class ActionDescription(object):
|
235
|
235
|
|
236
|
236
|
# TODO - G.M - 10-04-2018 - [Cleanup] Drop this
|
237
|
237
|
_ICONS = {
|
238
|
|
- 'archiving': 'fa fa-archive',
|
239
|
|
- 'content-comment': 'fa-comment-o',
|
240
|
|
- 'creation': 'fa-magic',
|
241
|
|
- 'deletion': 'fa-trash',
|
242
|
|
- 'edition': 'fa-edit',
|
243
|
|
- 'revision': 'fa-history',
|
244
|
|
- 'status-update': 'fa-random',
|
245
|
|
- 'unarchiving': 'fa-file-archive-o',
|
246
|
|
- 'undeletion': 'fa-trash-o',
|
247
|
|
- 'move': 'fa-arrows',
|
248
|
|
- 'copy': 'fa-files-o',
|
|
238
|
+ 'archiving': 'archive',
|
|
239
|
+ 'content-comment': 'comment-o',
|
|
240
|
+ 'creation': 'magic',
|
|
241
|
+ 'deletion': 'trash',
|
|
242
|
+ 'edition': 'edit',
|
|
243
|
+ 'revision': 'history',
|
|
244
|
+ 'status-update': 'random',
|
|
245
|
+ 'unarchiving': 'file-archive-o',
|
|
246
|
+ 'undeletion': 'trash-o',
|
|
247
|
+ 'move': 'arrows',
|
|
248
|
+ 'copy': 'files-o',
|
249
|
249
|
}
|
250
|
250
|
#
|
251
|
251
|
# _LABELS = {
|
|
@@ -1488,7 +1488,7 @@ class VirtualEvent(object):
|
1488
|
1488
|
delta_from_datetime = datetime.utcnow()
|
1489
|
1489
|
|
1490
|
1490
|
delta = delta_from_datetime - self.created
|
1491
|
|
-
|
|
1491
|
+
|
1492
|
1492
|
if delta.days > 0:
|
1493
|
1493
|
if delta.days >= 365:
|
1494
|
1494
|
aff = '%d year%s ago' % (delta.days/365, 's' if delta.days/365>=2 else '')
|