From f402bcc540b613ab30b22c6fd8337782a241aa74 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 23 Apr 2014 10:52:14 -0400 Subject: [PATCH] Bug 7125: make MARC framework tag form not suggest that one can change the form When you edit an existing tag in a MARC framework the form makes it appear as if you can change the tag number when in fact you cannot. This patch changes the template so that the tag number does not appear as an editable form field during the edit process. To test, apply the patch and open an existing MARC framework in Adminstration -> MARC bibliographic framework. - Choose an existing tag from the list and click 'Edit.' - The line labeled "Tag" should display the tag as text. - Making a change to any of the tag's details should work correctly. - Return to the list of the MARC framework's tags. - Click 'New tag.' - The line labeled "Tag" should display a blank form field. - Create a new tag and confirm that it saves correctly. Signed-off-by: Bernardo Gonzalez Kriegel Work as describes, on edit and new. No koha-qa errors Signed-off-by: Katrin Fischer Work as described, template change only. Checked editing and adding tags. Signed-off-by: Galen Charlton --- .../prog/en/modules/admin/marctagstructure.tt | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marctagstructure.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marctagstructure.tt index dc4243dbb9..80f374875a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marctagstructure.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marctagstructure.tt @@ -64,7 +64,18 @@ $(document).ready(function() {
[% IF ( use_heading_flags_p ) %][% IF ( heading_modify_tag_p ) %]Modify tag [% searchfield %][% END %][% IF ( heading_add_tag_p ) %]Add tag[% END %][% ELSE %][% action %][% END %] -
  1. Required
  2. +
      +
    1. + [% IF ( heading_modify_tag_p ) %] + + Tag: + [% searchfield %] + [% ELSE %] + + + Required + [% END %] +
    2. -- 2.39.5