From 35142704d0a9831b6d4560cdf98a1bc9481414e9 Mon Sep 17 00:00:00 2001 From: Bernardo Gonzalez Kriegel Date: Wed, 9 Apr 2014 08:43:23 -0300 Subject: [PATCH] Bug 11885: (follow-up) remove tabs Signed-off-by: Bernardo Gonzalez Kriegel Signed-off-by: Jonathan Druart Signed-off-by: Galen Charlton --- catalogue/MARCdetail.pl | 6 +++--- .../intranet-tmpl/prog/en/modules/catalogue/MARCdetail.tt | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/catalogue/MARCdetail.pl b/catalogue/MARCdetail.pl index 3c7b2763ed..2073ffd82a 100755 --- a/catalogue/MARCdetail.pl +++ b/catalogue/MARCdetail.pl @@ -150,7 +150,7 @@ for ( my $tabloop = 0 ; $tabloop <= 10 ; $tabloop++ ) { push( @subfields_data, \%subfield_data ); my %tag_data; $tag_data{tag} = '000'; - $tag_data{tag_desc} = $tagslib->{'000'}->{lib}; + $tag_data{tag_desc} = $tagslib->{'000'}->{lib}; my @tmp = @subfields_data; $tag_data{subfield} = \@tmp; push( @loop_data, \%tag_data ); @@ -238,8 +238,8 @@ for ( my $tabloop = 0 ; $tabloop <= 10 ; $tabloop++ ) { } else { $tag_data{tag} = $fields[$x_i]->tag(); - $tag_data{tag_ind} = C4::Koha::display_marc_indicators($fields[$x_i]); - $tag_data{tag_desc} = $tagslib->{ $fields[$x_i]->tag() }->{lib}; + $tag_data{tag_ind} = C4::Koha::display_marc_indicators($fields[$x_i]); + $tag_data{tag_desc} = $tagslib->{ $fields[$x_i]->tag() }->{lib}; } } my @tmp = @subfields_data; diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/MARCdetail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/MARCdetail.tt index 7d0ec680fe..b27cb54d12 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/MARCdetail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/MARCdetail.tt @@ -77,9 +77,9 @@ function Changefwk(FwkList) {
[% tab0X.tag %] - [% IF ( tab0X.tag_ind ) %] - [% tab0X.tag_ind.substr(0, 1) %][% tab0X.tag_ind.substr(1, 1) %] - [% END %] + [% IF ( tab0X.tag_ind ) %] + [% tab0X.tag_ind.substr(0, 1) %][% tab0X.tag_ind.substr(1, 1) %] + [% END %] [% IF (tab0X.tag_desc) %] - [% tab0X.tag_desc %][% END %]
[% ELSE %] -- 2.39.5