Commit f021cbc7 authored by Cecilia Vela Gurovic's avatar Cecilia Vela Gurovic
Browse files

Bug 1587950: Change style from information to warning in note block

When editing note with content associated with other note
and when note is locked

behatnotneeded

Change-Id: I9d0fa9eda540c27c73fc3a874f87f88fd0f3c2b9
parent 46c07292
......@@ -348,7 +348,7 @@ EOF;
'otherblocksmsg' => array(
'type' => 'html',
'class' => 'message info' . (($otherblockcount && !$readonly) ? '' : ' hidden'),
'value' => '<p class="alert alert-info">' . $otherblocksmsg
'value' => '<p class="alert alert-warning">' . $otherblocksmsg
. ' <a class="copytextboxnote nojs-hidden-inline" href="">' . get_string('makeacopy', 'blocktype.internal/textbox') . '</a></p>',
'help' => true,
),
......@@ -356,7 +356,7 @@ EOF;
'readonlymsg' => array(
'type' => 'html',
'class' => 'message info' . ($readonly ? '' : ' hidden'),
'value' => '<p class="alert alert-info">' . get_string('readonlymessage', 'blocktype.internal/textbox')
'value' => '<p class="alert alert-warning">' . get_string('readonlymessage', 'blocktype.internal/textbox')
. ' <a class="copytextboxnote nojs-hidden-inline" href="">' . get_string('makeacopy', 'blocktype.internal/textbox') . '</a></p>',
'help' => true,
),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment