Actually support the url_name parameter in NavigationBarHook.
Review Request #4186 — Created May 29, 2013 and submitted — Latest diff uploaded
Actually support the url_name parameter in NavigationBarHook. The docstring for this hook claimed that you could initialize it with a URL name, and have it do the reverse lookup. This was a lie. I've implemented this functionality.
- Used this in an extension I've been working on. - Ran unit tests.
reviewboard/extensions/tests.py |
---|
reviewboard/extensions/templatetags/rb_extensions.py |
---|