From 7f095be74ab2169eb4401bfc4f51abec08cc5a9f Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 6 Jul 2011 22:30:29 -0400 Subject: [PATCH] Revised fix for Bug 6133 - Authorised values administration, warn for modifs - Reformatted for T:T - Changed wording slighly - Styled message with new "note" style for non-dialog messages - Added correct alert style to existing error message Signed-off-by: Nicole C. Engard Signed-off-by: Chris Cormack --- .../intranet-tmpl/prog/en/css/staff-global.css | 17 +++++++++++++++++ .../prog/en/modules/admin/authorised_values.tt | 12 +++++------- koha-tmpl/intranet-tmpl/prog/img/note.png | Bin 0 -> 511 bytes 3 files changed, 22 insertions(+), 7 deletions(-) create mode 100644 koha-tmpl/intranet-tmpl/prog/img/note.png diff --git a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css b/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css index 59011e26dc..9c97db171d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css +++ b/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css @@ -1214,6 +1214,23 @@ div.message h5 { div.message ul+h4 { margin-top : .7em; } + +div.note { + background: #f4f6fa; + background-repeat : no-repeat; + background-position : left center; + background-image : url("../../img/note.png"); + background-image: url("../../img/note.png"), -moz-linear-gradient(top, #f4f6fa 0%, #e8edf6 100%); /* FF3.6+ */ + background-image: url("../../img/note.png"), -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f4f6fa), color-stop(100%,#e8edf6)); /* Chrome,Safari4+ */ + background-image: url("../../img/note.png"), -webkit-linear-gradient(top, #f4f6fa 0%,#e8edf6 100%); /* Chrome10+,Safari5.1+ */ + background-image: url("../../img/note.png"), -o-linear-gradient(top, #f4f6fa 0%,#e8edf6 100%); /* Opera11.10+ */ + background-image: url("../../img/note.png"), -ms-linear-gradient(top, #f4f6fa 0%,#e8edf6 100%); /* IE10+ */ + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f4f6fa', endColorstr='#e8edf6',GradientType=0 ); /* IE6-9 */ + background-image: url("../../img/note.png"), linear-gradient(top, #f4f6fa 0%,#e8edf6 100%); /* W3C */ + border : 1px solid #BCBCBC; + padding : .5em .5em .5em 20px; + margin : .5em 0; +} div.results { padding : .7em 0; diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt index e72349af58..f2356347b5 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt @@ -50,6 +50,9 @@ [% IF ( action_add_value ) %]New authorized value[% END %] [% IF ( action_add_category ) %]New category[% END %] + + [% IF ( action_modify ) %]
NOTE: If you change an authorized value, existing records using it won't be updated.
[% END %] +
@@ -173,15 +176,10 @@

Authorized values

-

These values can be used in many pull down menus throughout the Koha system. You can define as many categories as you want, and as many authorized values as you want in each category.

- -

When you define the MARC subfield structure, you can link a subfield to a authorized-value category. When the user ask for adding of modifying a biblio, the subfield is not entered through a free field, but though a list of authorized values

+
NOTE: If you change an authorized value, existing records using it won't be updated.
[% IF ( duplicate_category ) %] -
-Could not add value "[% duplicate_value %]" for category - "[% duplicate_category %]" — value already present. - +
Could not add value "[% duplicate_value %]" for category "[% duplicate_category %]" — value already present.
[% END %] [% tab_list %] diff --git a/koha-tmpl/intranet-tmpl/prog/img/note.png b/koha-tmpl/intranet-tmpl/prog/img/note.png new file mode 100644 index 0000000000000000000000000000000000000000..5c3f8b6a5665888dabb6a8e442b622d40a77eb53 GIT binary patch literal 511 zcmeAS@N?(olHy`uVBq!ia0vp^LLkh+3?vf;>QaFeOS+@4BLl)!W@CNv=F5w>UtcfJ zaRs{5q$J2M_&@1@!8=?D6gVqAT^vIyZY3EUV_;xB(xAyA;J~3+<`&55D!{DJ@W4sw zl#I`rR|;Yd42mHuUl^X)&?LdY*dj0~X`(rUF#{8aqRL8bwnPRNff$bl$0+GTOdJY3 zCRi}f7i?h_a41mZ)eF_&2AN|u%K&J`!PXSZM4bkPCa#T|21SQkfCgx(oLPO8Ul^!w z#e_Kv77F=rC^Rf^vdMD#WuVx=a7f4kXq_vE!U2X?&#aDfC@+x!I-0@L)z4*}Q$iB} DghJ`d literal 0 HcmV?d00001 -- 2.39.2