Adding custom message in banner
Review Request #8824 — Created March 18, 2017 and submitted — Latest diff uploaded
Read-only mode is a feature that can be enabled by the admin to disable
most backend changes by regular users. This commit adds a custom
message for the banner when in read-only mode. The message can be
optionally added through the admin panel right under where the admin
would enable/disable read-only mode.
Ran js-tests - passed
Ran python tests - most passed, some failures fixed in future commit
Checked changing value in admin panel reflects in banner
Diff Revision 2
This is not the most recent revision of the diff. The latest diff is revision 3. See what's changed.
orig
1
2
3
reviewboard/admin/context_processors.py |
---|
reviewboard/admin/forms.py |
---|
reviewboard/static/rb/css/defs.less |
---|
reviewboard/static/rb/css/pages/base.less |
---|
reviewboard/templates/base.html |
---|