Bugzilla – Attachment 34690 Details for
Bug 12823
Add some hints for Host, Database and SRU search fields mappings
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED OFF] Bug 12823: Add some hints for Host and Database
SIGNED-OFF-Bug-12823-Add-some-hints-for-Host-and-D.patch (text/plain), 2.80 KB, created by
Nick Clemens (kidclamp)
on 2014-12-26 21:55:45 UTC
(
hide
)
Description:
[SIGNED OFF] Bug 12823: Add some hints for Host and Database
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2014-12-26 21:55:45 UTC
Size:
2.80 KB
patch
obsolete
>From 104ffdee573c8c93842e0fa19c623b3c9b1bf971 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Tue, 26 Aug 2014 10:31:29 +0200 >Subject: [PATCH] [SIGNED OFF] Bug 12823: Add some hints for Host and Database > >When adding or editing a SRU server, this patch adds a hint, positioned >under the Hostname field. >It also moves similar information for SRU options and XSLT into hints. > >Test plan: >Add/Edit SRU server. Look at Hostname, SRU options and XSLT. >Add/Edit Z39.50 server. No hints for Hostname and SRU options. > >Signed-off-by: Nick Clemens <nick@quecheelibrary.org> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/admin/z3950servers.tt | 7 +++++-- > 1 file changed, 5 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/z3950servers.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/z3950servers.tt >index 7464b8b..3d7851f 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/z3950servers.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/z3950servers.tt >@@ -118,6 +118,9 @@ > <li><label for="name">Server name: </label><input type="text" name="servername" id="servername" size="65" maxlength="100" onblur="toUC(this)" value="[% server.servername | html %]"/></li> > > <li><label for="host" class="required">Hostname: </label> <input type="text" name="host" id="host" size="30" value="[% server.host %]" required="required" /> <span class="required">Required</span> >+ [% IF (server.servertype||type) == 'sru' %] >+ <div class="hint">Includes the domain part, but the path part of the URL should go into Database.</div> >+ [% END %] > </li> > <li><label for="port" class="required">Port: </label> <input type="text" name="port" id="port" size="5" value="[% server.port %]" required="required" /> <span class="required">Required</span> > </li> >@@ -179,7 +182,7 @@ > <li> > <label for="sru_options">Additional SRU options: </label> > <input type="text" name="sru_options" id="sru_options" size="50" value="[% server.sru_options %]"/> >- <span>( Separate options by commas. Example: sru=get,sru_version=1.1. See also http://www.indexdata.com/yaz/doc/zoom.html.)</span> >+ <div class="hint">Separate options by commas. Example: sru=get,sru_version=1.1. See also http://www.indexdata.com/yaz/doc/zoom.html.</div> > </li> > <li> > <label for="sru_fields">SRU Search fields mapping: </label> >@@ -190,7 +193,7 @@ > <li> > <label for="add_xslt">XSLT File(s) for transforming results: </label> > <input type="text" name="add_xslt" id="add_xslt" size="100" value="[% server.add_xslt %]"/> >- <span>(comma-separated filenames)</span> >+ <div class="hint">Separate multiple filenames by commas.</span> > </li> > > </ol> >-- >1.7.10.4
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 12823
:
31154
|
31155
|
31156
|
31157
|
31228
|
31229
|
33981
|
33982
|
34690
|
34691
|
34695
|
34696