View | Details | Raw Unified | Return to bug 13406
Collapse All | Expand All

(-)a/authorities/detail.pl (+7 lines)
Lines 143-149 sub build_tabs { Link Here
143
                                     . C4::Koha::display_marc_indicators($field) 
143
                                     . C4::Koha::display_marc_indicators($field) 
144
                                     . ' - '
144
                                     . ' - '
145
                                     . $tagslib->{$field->tag()}->{lib};
145
                                     . $tagslib->{$field->tag()}->{lib};
146
                      $tag_data{tag_number} = $tag;
147
                      $tag_data{tag_desc} = $tagslib->{$field->tag()}->{lib};
146
                      $tag_data{subfield} = \@subfields_data;
148
                      $tag_data{subfield} = \@subfields_data;
149
                      if ($tag >= 10){ # no indicator for theses tag
150
                            $tag_data{ind1} = $field->indicator(1);
151
                            $tag_data{ind2} = $field->indicator(2);
152
                      }
153
147
                      push (@loop_data, \%tag_data);
154
                      push (@loop_data, \%tag_data);
148
                    }
155
                    }
149
                  }
156
                  }
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/detail.tt (-3 / +6 lines)
Lines 65-71 Link Here
65
        [% IF ( innerloo.tag ) %]
65
        [% IF ( innerloo.tag ) %]
66
            <div class="tag">
66
            <div class="tag">
67
            <div class="tag_title">
67
            <div class="tag_title">
68
                [% innerloo.tag | html %]
68
                <span class="tag_num">[% innerloo.tag_number | html %]</span>
69
                [% IF (innerloo.defined("ind1") ) %]
70
                    <span class="tag_ind1">[% innerloo.ind1 %]</span><span class="tag_ind2">[% innerloo.ind2 | html %]</span>
71
                [% END %]
72
                [% IF (innerloo.tag_desc) %]<span class="dashwrapper"> -</span> <span class="tag_desc">[% innerloo.tag_desc | html %]</span>[% END %]
69
            </div>
73
            </div>
70
        [% ELSE %]
74
        [% ELSE %]
71
            <div class="tag">
75
            <div class="tag">
Lines 74-80 Link Here
74
            <p>
78
            <p>
75
                <label class="labelsubfield">&nbsp;
79
                <label class="labelsubfield">&nbsp;
76
                [% UNLESS ( subfiel.hide_marc ) %]<b>[% subfiel.marc_subfield | html %]</b>[% END %]
80
                [% UNLESS ( subfiel.hide_marc ) %]<b>[% subfiel.marc_subfield | html %]</b>[% END %]
77
                <span title="[% subfiel.long_desc | html %]">[% subfiel.short_desc | html %]</span></label>
81
                <span title="[% subfiel.long_desc | html %]" class="desc">[% subfiel.short_desc | html %]</span></label>
78
                [% subfiel.marc_value | html %]
82
                [% subfiel.marc_value | html %]
79
                [% IF ( subfiel.link ) %]
83
                [% IF ( subfiel.link ) %]
80
                    <a href="/cgi-bin/koha/catalogue/search.pl?op=do_search&amp;marclist=[% subfiel.link | html %]&amp;operator==&amp;type=intranet&amp;value=[% subfiel.marc_value |url %]">
84
                    <a href="/cgi-bin/koha/catalogue/search.pl?op=do_search&amp;marclist=[% subfiel.link | html %]&amp;operator==&amp;type=intranet&amp;value=[% subfiel.marc_value |url %]">
81
- 

Return to bug 13406