@@ -, +, @@ Every other tab were bold. By making the similar template into a procedure based on the 0XX tab, bolding was lost. This patch bolds all subtags including the @, so that the visible change is minimized. previously. This bug fix splits the the single concatenation mess into parts which can be styled. This puts the dash back into the template. However, it should be noted that the spacing for the 0 tab's tag and tag description will have an extra space after the hypen that was lacking before. ... ... The later puts that extra space. This patch fixes that. --- .../prog/en/modules/catalogue/MARCdetail.tt | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/MARCdetail.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/MARCdetail.tt @@ -78,10 +78,9 @@ function Changefwk(FwkList) {
[% tab0X.tag %] [% IF ( tab0X.tag_ind ) %] - [% tab0X.tag_ind.substr(0, 1) %] - [% tab0X.tag_ind.substr(1, 1) %] + [% tab0X.tag_ind.substr(0, 1) %][% tab0X.tag_ind.substr(1, 1) %] [% END %] - [% IF (tab0X.tag_desc) %][% tab0X.tag_desc %][% END %] + [% IF (tab0X.tag_desc) %] - [% tab0X.tag_desc %][% END %]
[% ELSE %]
@@ -89,7 +88,7 @@ function Changefwk(FwkList) { [% FOREACH subfiel IN tab0X.subfield %]

  - [% UNLESS ( subfiel.hide_marc ) %][% subfiel.marc_subfield %][% END %] + [% UNLESS ( subfiel.hide_marc ) %][% subfiel.marc_subfield %][% END %] [% subfiel.short_desc %] [% IF ( subfiel.is_url ) %][% subfiel.marc_value |html %][% ELSE %][% subfiel.marc_value |html %][% END %] [% IF ( subfiel.link ) %] --