Merge lp:~newell-jensen/maas/bulk-node-actions-messages-bug-1387968 into lp:~maas-committers/maas/trunk
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Newell Jensen | ||||
Approved revision: | no longer in the source branch. | ||||
Merged at revision: | 3327 | ||||
Proposed branch: | lp:~newell-jensen/maas/bulk-node-actions-messages-bug-1387968 | ||||
Merge into: | lp:~maas-committers/maas/trunk | ||||
Diff against target: |
53 lines (+10/-6) 2 files modified
src/maasserver/views/nodes.py (+5/-4) src/maasserver/views/tests/test_nodes.py (+5/-2) |
||||
To merge this branch: | bzr merge lp:~newell-jensen/maas/bulk-node-actions-messages-bug-1387968 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Blake Rouse (community) | Approve | ||
Review via email: mp+240217@code.launchpad.net |
Commit message
This branch gives the bulk node action message(s) the correct color for the given message(s).
Description of the change
Currently, some action messages should be yellow for warnings or red for errors, but instead are blue. This branch takes the highest severity (precedence) out of all the concatenated messages and uses this color. If we were going to make it so each message was going to have its own color instead of concatenating the messages as `message_
No tests?
Also the commit message is a little long. I would give exactly what this does or fixes. Explaining the better way in the description.