Adding custom message in banner

Review Request #8824 - Created March 18, 2017 and updated

Kanghee Park
Review Board
master
8810, 8811, 8657, 8812, 8648
8861, 8847
reviewboard, students

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

Loading file attachments...

  • 0
  • 0
  • 8
  • 0
  • 8
Description From Last Updated
Review Bot
Barret Rennie
Kanghee Park
Kanghee Park
Kanghee Park
Barret Rennie
Barret Rennie
Kanghee Park
Review request changed

Change Summary:

Update according to comments + fix description line wrapping

Description:

~  

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.

  ~

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.

Diff:

Revision 3 (+35 -5)

Show changes

Checks run (2 succeeded, 1 failed with error)

JSHint passed.
Pyflakes passed.
PEP8 Style Checker internal error.
Loading...