Bug 12639 - Z39.50 administration page should use "message" dialog for adds and updates

This patch changes the style of a couple of message boxes to use the
"message" style instead of the "alert" style. This better reflects the
type and priority of the messages being displayed.

To test, got to Administration -> Z39.50 client targets and edit an
existing server. The confirmation message should be the blue "message"
type.

Test again by adding a new server. The confirmation message for this
operation should be of the same blue "message" type.

Signed-off-by: Petter Goksoyr Asen <boutrosboutrosboutros@gmail.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Small template change, tested ok.

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
This commit is contained in:
Owen Leonard 2014-07-23 13:08:36 -04:00 committed by Tomas Cohen Arazi
parent 6e10200158
commit e86387eee2
1 changed files with 2 additions and 2 deletions

View File

@ -73,9 +73,9 @@
[% IF msg_deleted %]
<div class="dialog alert">Z39.50 server deleted ([% msg_add %])</div>
[% ELSIF msg_updated %]
<div class="dialog alert">Z39.50 server updated ([% msg_add %])</div>
<div class="dialog message">Z39.50 server updated ([% msg_add %])</div>
[% ELSIF msg_added %]
<div class="dialog alert">Z39.50 server added ([% msg_add %])</div>
<div class="dialog message">Z39.50 server added ([% msg_add %])</div>
[% ELSIF msg_notfound %]
<div class="dialog alert">Error: Server with id [% msg_add %] not found</div>
[% END %]