Nicer activity for changing a shot thumbnail
This commit is contained in:
@@ -53,6 +53,8 @@ def activity_after_replacing_shot(shot, original):
|
||||
# Some key- and value-specific overrides
|
||||
if val_shot is pillar.api.utils.DoesNotExist:
|
||||
descr = 'removed "%s" from shot "%s"' % (human_key, shot['name'])
|
||||
if key == 'picture':
|
||||
descr = 'changed the thumbnail of shot "%s"' % shot['name']
|
||||
elif key == 'properties.status':
|
||||
val_shot = pillar.web.jinja.format_undertitle(val_shot)
|
||||
elif isinstance(val_shot, basestring) and len(val_shot) > 80:
|
||||
|
Reference in New Issue
Block a user