Bug 10848 - [QA Followup] Add missing branch option and fix pattern for copyrightdate
- HTML5 input pattern for copyrightdate was not taking into an account the database field type, which is smallint(5) - added title="..." for the year field so the acceptable date format should be displayed as a hint/tooltip in the browser - added an missing option for configuring branch/library as mandatory Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
parent
219c0eac8c
commit
8d02469abf
2 changed files with 6 additions and 1 deletions
|
@ -565,6 +565,7 @@ OPAC:
|
|||
collectiontitle: Collection title
|
||||
place: Publication place
|
||||
itemtype: Item type
|
||||
branch: Library or branch
|
||||
patronreason: Patron reason
|
||||
note: Note
|
||||
- "<br />Note: if none of the above options are selected, 'Title' field would be mandatory anyway, by default."
|
||||
|
|
|
@ -42,7 +42,11 @@
|
|||
<ol>
|
||||
<li><label for="title">Title:</label><input type="text" id="title" name="title" class="span6" maxlength="255" /></li>
|
||||
<li><label for="author">Author:</label><input type="text" id="author" name="author" class="span6" maxlength="80" /></li>
|
||||
<li><label for="copyrightdate">Copyright date:</label><input type="text" id="copyrightdate" name="copyrightdate" pattern="[12][0-9\-\?]{3}" size="4" maxlength="4" /></li>
|
||||
<li>
|
||||
<div title="Copyright or publication year, for example: 2016">
|
||||
<label for="copyrightdate">Copyright date:</label><input type="text" id="copyrightdate" name="copyrightdate" pattern="[12]\d{3}" size="4" maxlength="4" />
|
||||
</div>
|
||||
</li>
|
||||
<li><label for="isbn">Standard number (ISBN, ISSN or other):</label><input type="text" id="isbn" name="isbn" maxlength="80" /></li>
|
||||
<li><label for="publishercode">Publisher:</label><input type="text" id="publishercode" name="publishercode" class="span6" maxlength="80" /></li>
|
||||
<li><label for="collectiontitle">Collection title:</label><input type="text" id="collectiontitle" name="collectiontitle" class="span6" maxlength="80" /></li>
|
||||
|
|
Loading…
Reference in a new issue