Bug 18800: Patron card images: Add some more explanation to upload page and fix small...
authorMarc Véron <veron@veron.ch>
Wed, 14 Jun 2017 09:10:56 +0000 (11:10 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 21 Jun 2017 14:26:07 +0000 (11:26 -0300)
The file
koha-tmpl/intranet-tmpl/prog/en/modules/help/patroncards/image-manage.tt
has a small translatability issue (sentence splitting by html tags).

This patch fixes it and adds a little bit more explanation about
uploading, using and replacing such images.

To test:
- Verify that text changes make sense
- Apply patch
- Go to Home > Tools > Patron card creator > Images and verify
  that the page displays properly

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/help/patroncards/image-manage.tt
koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/image-manage.tt

index f0bd34d..83b02e1 100644 (file)
@@ -2,6 +2,8 @@
 
 <h1>Manage Images</h1>
 
 
 <h1>Manage Images</h1>
 
+<p>Upload additional images to use as logo, decoration or background on a patron card layout.</p>
+
 <p>Images uploaded using this tool will appear on the menu when creating patron card layouts. You are limited in how many images you can upload (not counting patron images) by the ImageLimit system preference.</p>
 
 <p>Images must be under 500k in size.</p>
 <p>Images uploaded using this tool will appear on the menu when creating patron card layouts. You are limited in how many images you can upload (not counting patron images) by the ImageLimit system preference.</p>
 
 <p>Images must be under 500k in size.</p>
 
 <p>Once the file is uploaded you will be presented with a confirmation message.</p>
 
 
 <p>Once the file is uploaded you will be presented with a confirmation message.</p>
 
-<p>And the image will be listed with all of your others on the right hand side of the page.</p>
+<p>All uploaded images will be listed on the right hand side of this page.</p>
 
 <p>To delete one or multiple of these images, click the checkbox to the right of each image you want to delete and click the 'Delete' button.</p>
 
 
 <p>To delete one or multiple of these images, click the checkbox to the right of each image you want to delete and click the 'Delete' button.</p>
 
+<p>To replace an image, delete it, upload a new file and give it the same image name.</p>
+
 <p><strong>See the full documentation for Managing Images in the <a href="http://manual.koha-community.org/[% helpVersion %]/en/patroncardcreator.html#managecardimages">manual</a> (online).</strong></p>
 
 <p><strong>See the full documentation for Managing Images in the <a href="http://manual.koha-community.org/[% helpVersion %]/en/patroncardcreator.html#managecardimages">manual</a> (online).</strong></p>
 
-[% INCLUDE 'help-bottom.inc' %]
\ No newline at end of file
+[% INCLUDE 'help-bottom.inc' %]
index db5e8a9..5ceb132 100644 (file)
                 [% INCLUDE 'patroncards-errors.inc' %]
                 <div class="yui-g">
                     <div class="yui-u first">
                 [% INCLUDE 'patroncards-errors.inc' %]
                 <div class="yui-g">
                     <div class="yui-u first">
-                        <h1>Upload images</h1>
+                        <h1>Upload additional images for patron cards</h1>
+                        <p>Manage additional images to use as logo, decoration or background on a patron card layout.</p>
                         <form name="upload_images" method="post" action="/cgi-bin/koha/patroncards/image-manage.pl" enctype="multipart/form-data">
                             <fieldset class="brief">
                         <form name="upload_images" method="post" action="/cgi-bin/koha/patroncards/image-manage.pl" enctype="multipart/form-data">
                             <fieldset class="brief">
-                                <div class="hint">
-                                    <b>NOTE:</b> Only PNG, GIF, JPEG, XPM formats are supported. Images <b>must</b> be less than 500KB.
-                                </div>
+                                <div class="hint">Only PNG, GIF, JPEG, XPM formats are supported. Maximum image size is 500KB.</div>
                                 <ol>
                                 <li>
                                     <label for="uploadfile">Select the file to upload: </label>
                                 <ol>
                                 <li>
                                     <label for="uploadfile">Select the file to upload: </label>
                                     <div class="hint">
                                         This will be the name by which you will refer to this image in the patron card layout editor.
                                     </div>
                                     <div class="hint">
                                         This will be the name by which you will refer to this image in the patron card layout editor.
                                     </div>
+                                    <div class="hint">
+                                        To replace an image, delete it, upload a new file and give it the same image name.
+                                    </div>
+
                                     <input type="text" id="image_name" name="image_name" size="20" />
                                 </li>
                                 </ol>
                                     <input type="text" id="image_name" name="image_name" size="20" />
                                 </li>
                                 </ol>