changeset 505 | a05fde6309e1 |
parent 498 | 9f04b7bcc333 |
child 506 | db2edf922849 |
504:3b78ea899168 | 505:a05fde6309e1 |
---|---|
34 return { |
34 return { |
35 'title': title, |
35 'title': title, |
36 'user': user, |
36 'user': user, |
37 'modification_datetime': creation_datatime, |
37 'modification_datetime': creation_datatime, |
38 } |
38 } |
39 |
|
40 |
|
41 @register.inclusion_tag('templatetags/_as_uberbar.html') |
|
42 def as_uberbar(message): |
|
43 """Returns a context dictionary containing the fields necessary |
|
44 to render the uberbar. |
|
45 """ |
|
46 |
|
47 return { |
|
48 'message': message, |
|
49 } |