Add new hook points for adding entries to the header
Review Request #4624 — Created Sept. 21, 2013 and submitted
Add HeaderActionHook and HeaderDropdownActionHook for putting items into the base page header (where the branding, search, account management and support links are).
Wrote some unit tests, and did manual testing with my TogetherJS extension.
Description | From | Last Updated |
---|---|---|
Col: 1 E302 expected 2 blank lines, found 1 |
reviewbot | |
Col: 1 E302 expected 2 blank lines, found 1 |
reviewbot | |
Col: 1 E302 expected 2 blank lines, found 1 |
reviewbot | |
Col: 1 E302 expected 2 blank lines, found 1 |
reviewbot | |
Col: 66 W292 no newline at end of file |
reviewbot | |
Col: 5 E303 too many blank lines (2) |
reviewbot | |
Col: 5 E303 too many blank lines (2) |
reviewbot | |
Col: 1 W391 blank line at end of file |
reviewbot | |
Collapse these down to one load statement. It's faster. |
chipx86 | |
Trailing newline. |
chipx86 | |
Whoops - the comments that Christian brought up were for this file, not action_dropdown.html. Let me fix that. |
mike_conley | |
Indentation for template tags should go inside the {% .. %}, so: {% for action ... %} {% include ... … |
chipx86 |
-
This is a review from Review Bot.
Tool: Pyflakes
Processed Files:
reviewboard/extensions/templatetags/rb_extensions.py
reviewboard/extensions/hooks.py
reviewboard/extensions/tests.py
Ignored Files:
reviewboard/templates/extensions/header_action_dropdown.html
reviewboard/templates/base.html
-
This is a review from Review Bot.
Tool: PEP8 Style Checker
Processed Files:
reviewboard/extensions/templatetags/rb_extensions.py
reviewboard/extensions/hooks.py
reviewboard/extensions/tests.py
Ignored Files:
reviewboard/templates/extensions/action_dropdown.html
reviewboard/templates/extensions/header_action_dropdown.html
reviewboard/templates/base.html
-
This is a review from Review Bot.
Tool: Pyflakes
Processed Files:
reviewboard/extensions/templatetags/rb_extensions.py
reviewboard/extensions/hooks.py
reviewboard/extensions/tests.py
Ignored Files:
reviewboard/templates/extensions/action_dropdown.html
reviewboard/templates/extensions/header_action_dropdown.html
reviewboard/templates/base.html
-
This is a review from Review Bot.
Tool: PEP8 Style Checker
Processed Files:
reviewboard/extensions/templatetags/rb_extensions.py
reviewboard/extensions/hooks.py
reviewboard/extensions/tests.py
Ignored Files:
reviewboard/templates/extensions/action_dropdown.html
reviewboard/templates/extensions/header_action_dropdown.html
reviewboard/templates/base.html
-
This is a review from Review Bot.
Tool: Pyflakes
Processed Files:
reviewboard/extensions/templatetags/rb_extensions.py
reviewboard/extensions/hooks.py
reviewboard/extensions/tests.py
Ignored Files:
reviewboard/templates/extensions/action_dropdown.html
reviewboard/templates/extensions/header_action_dropdown.html
reviewboard/templates/base.html
-
This is a review from Review Bot.
Tool: PEP8 Style Checker
Processed Files:
reviewboard/extensions/templatetags/rb_extensions.py
reviewboard/extensions/hooks.py
reviewboard/extensions/tests.py
Ignored Files:
reviewboard/templates/extensions/action_dropdown.html
reviewboard/templates/extensions/header_action_dropdown.html
reviewboard/templates/base.html
-
This is a review from Review Bot.
Tool: Pyflakes
Processed Files:
reviewboard/extensions/templatetags/rb_extensions.py
reviewboard/extensions/hooks.py
reviewboard/extensions/tests.py
Ignored Files:
reviewboard/templates/extensions/action_dropdown.html
reviewboard/templates/extensions/header_action_dropdown.html
reviewboard/templates/base.html