Bug 35057: Improve tag description labels in biblio and authority framework editing

This patch updates several templates in order to clarify labels in forms
and on table columns.

To test apply the patch and go to Administration -> Authority types ->
MARC structure.

- The second column should now be labeled "Tag description."
- Click "Edit" on one of the tags.
- The description fields should now be labeled "Description in staff
  interface" and "Description in OPAC."
- Return to the list of tags and choose Actions -> Subfields for one of
  the tags. The second column should read "Description."
  - Click "Edit" on one of the subfields.
    - The description fields should now be labeled "Description in staff
      interface" and "Description in OPAC."

Go to Administration -> MARC bibliographic framework -> MARC structure.

- The second column should now be labeled "Tag description."
- Click "Edit" on one of the tags.
- The description fields should now be labeled "Description in staff
  interface" and "Description in OPAC."
- Return to the list of tags and choose Actions -> Subfields for one of
  the tags. The second column should read "Description."
  - Click "Edit" on one of the subfields.
    - The description fields should now be labeled "Description in staff
      interface" and "Description in OPAC."

Signed-off-by: Barbara Johnson <barbara.johnson@bedfordtx.gov>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
This commit is contained in:
Owen Leonard 2023-10-16 13:30:15 +00:00 committed by Tomas Cohen Arazi
parent 81c25dc0be
commit 09459e3dd5
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F
4 changed files with 11 additions and 11 deletions

View file

@ -159,8 +159,8 @@
<input type="checkbox" id="mandatory[% loo.row | html %]" name="mandatory[% loo.row | html %]" value="1" />
[% END %]
</li>
<li><label for="liblibrarian[% loo.row | html %]">Text for librarian: </label><input id="liblibrarian[% loo.row | html %]" type="text" name="liblibrarian" value="[% loo.liblibrarian | html_entity %]" size="40" maxlength="80" /></li>
<li><label for="libopac[% loo.row | html %]">Text for OPAC: </label><input type="text" id="libopac[% loo.row | html %]" name="libopac" value="[% loo.libopac | html_entity %]" size="40" maxlength="80" /></li>
<li><label for="liblibrarian[% loo.row | html %]">Description in staff interface: </label><input id="liblibrarian[% loo.row | html %]" type="text" name="liblibrarian" value="[% loo.liblibrarian | html_entity %]" size="40" maxlength="80" /></li>
<li><label for="libopac[% loo.row | html %]">Description in OPAC: </label><input type="text" id="libopac[% loo.row | html %]" name="libopac" value="[% loo.libopac | html_entity %]" size="40" maxlength="80" /></li>
<li><label for="tab[% loo.row | html %]">Managed in tab: </label>
<select name="tab" id="tab[% loo.row | html %]">
[%- IF ( loo.tab == -1 ) -%]
@ -332,7 +332,7 @@
<thead>
<tr>
<th>Subfield</th>
<th>Text</th>
<th>Description</th>
<th>Constraints</th>
<th class="NoSort">&nbsp;</th>
</tr>

View file

@ -155,8 +155,8 @@
</li>
[% END %]
<li><label for="liblibrarian">Text for librarians: </label><input type="text" name="liblibrarian" id="liblibrarian" value="[% liblibrarian | html %]" size="40" maxlength="100" /></li>
<li><label for="libopac">Text for opac: </label><input type="text" name="libopac" id="libopac" value="[% libopac | html %]" size="40" maxlength="100" /></li>
<li><label for="liblibrarian">Description in staff interface: </label><input type="text" name="liblibrarian" id="liblibrarian" value="[% liblibrarian | html %]" size="40" maxlength="100" /></li>
<li><label for="libopac">Description in OPAC: </label><input type="text" name="libopac" id="libopac" value="[% libopac | html %]" size="40" maxlength="100" /></li>
<li><label for="repeatable">Repeatable: </label>
[% IF ( repeatable ) %]
<input type="checkbox" name="repeatable" id="repeatable" value="1" checked="checked" />
@ -263,7 +263,7 @@
<thead>
<tr>
<th>Tag</th>
<th>Lib</th>
<th>Tag description</th>
<th>Repeatable</th>
<th>Mandatory</th>
<th>Authorized<br />value</th>

View file

@ -145,11 +145,11 @@
</li>
[% END %]
<li>
<label for="liblibrarian[% loo.row | html %]">Text for librarian: </label>
<label for="liblibrarian[% loo.row | html %]">Description in staff interface: </label>
<input id="liblibrarian[% loo.row | html %]" type="text" name="liblibrarian_[% loo.row | html %]" value="[% loo.liblibrarian | html_entity %]" size="40" maxlength="80" />
</li>
<li>
<label for="libopac[% loo.row | html %]">Text for OPAC: </label>
<label for="libopac[% loo.row | html %]">Description in OPAC: </label>
<input type="text" id="libopac[% loo.row | html %]" name="libopac_[% loo.row | html %]" value="[% loo.libopac | html_entity %]" size="40" maxlength="80" />
</li>
<li>

View file

@ -148,8 +148,8 @@
<span class="required">Required</span>
[% END %]
</li>
<li><label for="liblibrarian">Label for lib: </label><input type="text" id="liblibrarian" name="liblibrarian" value="[% liblibrarian | html %]" size="40" maxlength="100" /></li>
<li><label for="libopac">Label for opac: </label><input type="text" id="libopac" name="libopac" value="[% libopac | html %]" size="40" maxlength="100" /></li>
<li><label for="liblibrarian">Description in staff interface: </label><input type="text" id="liblibrarian" name="liblibrarian" value="[% liblibrarian | html %]" size="40" maxlength="100" /></li>
<li><label for="libopac">Description in OPAC: </label><input type="text" id="libopac" name="libopac" value="[% libopac | html %]" size="40" maxlength="100" /></li>
<li><label for="repeatable">Repeatable: </label>
[% IF ( repeatable ) %]
<input type="checkbox" name="repeatable" id="repeatable" value="1" checked="checked" />
@ -265,7 +265,7 @@
<thead>
<tr>
<th>Tag</th>
<th>Lib</th>
<th>Tag description</th>
<th>Repeatable</th>
<th>Mandatory</th>
<th>Important</th>