Bugzilla – Attachment 4605 Details for
Bug 6133
Authorised values administration, warn for modifs
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Revised fix
0001-Revised-fix-for-Bug-6133-Authorised-values-administr.patch (text/plain), 5.11 KB, created by
Owen Leonard
on 2011-07-08 14:46:59 UTC
(
hide
)
Description:
Revised fix
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2011-07-08 14:46:59 UTC
Size:
5.11 KB
patch
obsolete
>From 180ee2f4c610b9d7548c7b9d8d09c260b9ac5ab6 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Fri, 8 Jul 2011 10:43:37 -0400 >Subject: [PATCH] Revised fix for Bug 6133 - Authorised values administration, warn for modifs >Content-Type: text/plain; charset="utf-8" > >- 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 >--- > .../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 59011e2..9c97db1 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 e72349a..f235634 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 %] > </h1> >+ >+ [% IF ( action_modify ) %]<div class="note"><strong>NOTE:</strong> If you change an authorized value, existing records using it won't be updated.</div>[% END %] >+ > <form action="[% script_name %]" name="Aform" method="post"> > <input type="hidden" name="op" value="add_validate" /> > <input type="hidden" name="offset" value="[% offset %]" /> >@@ -173,15 +176,10 @@ > </ul></div> > > <h1>Authorized values</h1> >-<p>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.</p> >- >-<p>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</p> >+<div class="note"><strong>NOTE:</strong> If you change an authorized value, existing records using it won't be updated.</div> > > [% IF ( duplicate_category ) %] >-<div> >-<span class="problem">Could not add value "[% duplicate_value %]" for category >- "[% duplicate_category %]" — value already present. >-</span> >+<div class="dialog alert">Could not add value "[% duplicate_value %]" for category "[% duplicate_category %]" — value already present. > </div> > [% END %] > <form action="/cgi-bin/koha/admin/authorised_values.pl" method="post" id="category"><label for="searchfield">Show Category: </label>[% tab_list %] <input type="submit" value="Submit" /></form> >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<w6XvX4FM)i?64!{5 >z;QX|b^2DN42FH~Aq*MjZ+{E<Mpwz^a%EFVWHb6yl0(?ST_ww;wpE7f=px{9@^}PZD >zkFVZ&eC_VjyHECsiavYt=77BXi`So@-g~-VQtD!P^{wS=o;`ZChl}gp?nCFZ^Pj)^ >zbg{DbLP7D}?R)QT+Obbe{HT@nelfA*4$e=m-8&PTuun+nN?X^nr*Cg9U3I0S=R!&O >z(+4kZ%$)o1^rbuNwp^-h+%GHl<of+5H}3D{=ietF@ch}k8*>)!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 > >-- >1.7.3 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 6133
:
3824
| 4605 |
4606