pytask/templatetags/browse_helpers.py
changeset 506 db2edf922849
parent 505 a05fde6309e1
child 546 6393b77c3c68
equal deleted inserted replaced
505:a05fde6309e1 506:db2edf922849
    26 
    26 
    27 
    27 
    28 @register.inclusion_tag('templatetags/_as_modification_display.html')
    28 @register.inclusion_tag('templatetags/_as_modification_display.html')
    29 def as_modification_display(title, user, creation_datatime):
    29 def as_modification_display(title, user, creation_datatime):
    30     """Returns a context dictionary containing the fields necessary
    30     """Returns a context dictionary containing the fields necessary
    31     to render the creation/modification
    31     to render the creation/modification.
    32     """
    32     """
    33 
    33 
    34     return {
    34     return {
    35       'title': title,
    35       'title': title,
    36       'user': user,
    36       'user': user,