Bug 10690 - Warn about trailing slashes in description of OPACBaseURL and staffClient...
authorMagnus Enger <magnus@enger.priv.no>
Tue, 6 Aug 2013 14:00:01 +0000 (16:00 +0200)
committerGalen Charlton <gmc@esilibrary.com>
Wed, 28 Aug 2013 14:15:03 +0000 (14:15 +0000)
The descriptions for OPACBaseURL and staffClientBaseURL are not explicit
about including a trailing slash or not. This patch makes it explicit
that the trailing slash should *not* be included.

To test:
- Apply the patch
- Search for "baseurl" in the system preferences
- Check that the description of both sysprefs includes a warning about
  not including a trailing slash.
- Sign off

If you want to check that the trailing slash is in fact superfluous you
can do something like 'grep -r "BaseURL" *' and check that these
sysprefs are usually concatenated with some string that starts with a
slash.

Signed-off-by: Mirko Tietgen <mirko@abunchofthings.net>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Changes to the description appear correctly on both system
preferences.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/staff_client.pref

index 90295ef..a75c7ef 100644 (file)
@@ -9,7 +9,7 @@ OPAC:
             - "The OPAC is located at http://"
             - pref: OPACBaseURL
               class: url
-            - . (This must be filled in correctly for RSS, unAPI, and search plugins to work.)
+            - . Do not include a trailing slash in the URL. (This must be filled in correctly for RSS, unAPI, and search plugins to work.)
         -
             - Show
             - pref: LibraryName
index 462286a..8c31c46 100644 (file)
@@ -9,7 +9,7 @@ Staff Client:
             - "The staff client is located at http://"
             - pref: staffClientBaseURL
               class: url
-            - .
+            - . Do not include a trailing slash in the URL.
         -
             - Use the CSS stylesheet
             - pref: intranetstylesheet