Bug 11885: (follow-up) remove tabs

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
This commit is contained in:
Bernardo Gonzalez Kriegel 2014-04-09 08:43:23 -03:00 committed by Galen Charlton
parent 377dbfc73f
commit 35142704d0
2 changed files with 6 additions and 6 deletions

View file

@ -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;

View file

@ -77,9 +77,9 @@ function Changefwk(FwkList) {
<div class="tag">
<div class="tag_title">
<span class="tag_num">[% tab0X.tag %]</span>
[% IF ( tab0X.tag_ind ) %]
<span class="tag_ind1">[% tab0X.tag_ind.substr(0, 1) %]</span><span class="tag_ind2">[% tab0X.tag_ind.substr(1, 1) %]</span>
[% END %]
[% IF ( tab0X.tag_ind ) %]
<span class="tag_ind1">[% tab0X.tag_ind.substr(0, 1) %]</span><span class="tag_ind2">[% tab0X.tag_ind.substr(1, 1) %]</span>
[% END %]
[% IF (tab0X.tag_desc) %]<span class="dashwrapper"> -</span> <span class="tag_desc">[% tab0X.tag_desc %]</span>[% END %]
</div>
[% ELSE %]