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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/detail.tt (-51 / +51 lines)
Lines 80-138 Link Here
80
                    [% html | $raw %]
80
                    [% html | $raw %]
81
                [% ELSE %]
81
                [% ELSE %]
82
82
83
                [% WRAPPER tabs id= "authoritiestabs" %]
83
                    [% WRAPPER tabs id= "authoritiestabs" %]
84
                    [% WRAPPER tabs_nav %]
84
                        [% WRAPPER tabs_nav %]
85
                        [% FOREACH BIG_LOO IN BIG_LOOP %]
85
                            [% FOREACH BIG_LOO IN BIG_LOOP %]
86
                            [% WRAPPER tab_item tabname= "tab${ BIG_LOO.number }XX" %]
86
                                [% WRAPPER tab_item tabname= "tab${ BIG_LOO.number }XX" %]
87
                                [% BIG_LOO.number | html %]
87
                                    [% BIG_LOO.number | html %]
88
                                [% END %]
88
                            [% END %]
89
                            [% END %]
89
                        [% END %]
90
                        [% END # /WRAPPER tabs_nav %]
90
                    [% END # /WRAPPER tabs_nav %]
91
91
92
                        [% WRAPPER tab_panels %]
92
                    [% WRAPPER tab_panels %]
93
                            [% FOREACH BIG_LOO IN BIG_LOOP %]
93
                        [% FOREACH BIG_LOO IN BIG_LOOP %]
94
                                [% WRAPPER tab_panel tabname="tab${ BIG_LOO.number }XX" %]
94
                            [% WRAPPER tab_panel tabname="tab${ BIG_LOO.number }XX" %]
95
                                    [% FOREACH innerloo IN BIG_LOO.innerloop %]
95
                                [% FOREACH innerloo IN BIG_LOO.innerloop %]
96
                                        [% IF ( innerloo.tag_number ) %]
96
                                    [% IF ( innerloo.tag_number ) %]
97
                                            <div class="tag">
97
                                        <div class="tag">
98
                                                <div class="tag_title">
98
                                            <div class="tag_title">
99
                                                    <span class="tag_num marc_field">[% innerloo.tag_number | html %]</span>
99
                                                <span class="tag_num marc_field">[% innerloo.tag_number | html %]</span>
100
                                                    [% IF (innerloo.defined("ind1") ) %]
100
                                                [% IF (innerloo.defined("ind1") ) %]
101
                                                        <span class="tag_ind1">[% innerloo.ind1 | html %]</span><span class="tag_ind2">[% innerloo.ind2 | html %]</span>
101
                                                    <span class="tag_ind1">[% innerloo.ind1 | html %]</span><span class="tag_ind2">[% innerloo.ind2 | html %]</span>
102
                                                [% END %]
103
                                                [% IF (innerloo.tag_desc) %]
104
                                                    <span class="dashwrapper"> -</span> <span class="tag_desc marc_field">[% innerloo.tag_desc | html %]</span>
105
                                                [% END %]
106
                                            </div> <!-- /.tag_title -->
107
                                    [% ELSE %]
108
                                        <div class="tag">
109
                                    [% END # /IF ( innerloo.tag_number ) %]
110
111
                                        [% FOREACH subfiel IN innerloo.subfield %]
112
                                            <div class="auth_subfield">
113
                                                <div class="subfield_info marc_field">
114
                                                    [% UNLESS ( subfiel.hide_marc ) %]
115
                                                        <span class="marc_subfield">[% subfiel.marc_subfield | html %]</span>
116
                                                    [% END %]
102
                                                    [% END %]
117
                                                    <span class="marc_subfield_desc">[% subfiel.long_desc | html %]</span>
103
                                                    [% IF (innerloo.tag_desc) %]
118
                                                </div> <!-- /.subfield_info.marc_field -->
104
                                                        <span class="dashwrapper"> -</span> <span class="tag_desc marc_field">[% innerloo.tag_desc | html %]</span>
119
                                                <div class="subfield_content marc_field">
105
                                                    [% END %]
120
                                                    <span class="subfield_value">
106
                                                </div> <!-- /.tag_title -->
121
                                                        [% IF ( subfiel.is_url ) %]
107
                                        [% ELSE %]
122
                                                            <a href="[% subfiel.marc_value | url %]">[% subfiel.marc_value | html %]</a>
108
                                            <div class="tag">
123
                                                        [% ELSE %]
109
                                        [% END # /IF ( innerloo.tag_number ) %]
124
                                                            [% subfiel.marc_value | html %]
110
    
111
                                            [% FOREACH subfiel IN innerloo.subfield %]
112
                                                <div class="auth_subfield">
113
                                                    <div class="subfield_info marc_field">
114
                                                        [% UNLESS ( subfiel.hide_marc ) %]
115
                                                            <span class="marc_subfield">[% subfiel.marc_subfield | html %]</span>
125
                                                        [% END %]
116
                                                        [% END %]
126
                                                    </span>
117
                                                        <span class="marc_subfield_desc">[% subfiel.long_desc | html %]</span>
127
                                                </div> <!-- /.subfield_content.marc_field -->
118
                                                    </div> <!-- /.subfield_info.marc_field -->
128
                                            </div> <!-- /.auth_subfield -->
119
                                                    <div class="subfield_content marc_field">
129
                                        [% END #/FOREACH subfiel %]
120
                                                        <span class="subfield_value">
130
                                    </div> <!-- /.tag -->
121
                                                            [% IF ( subfiel.is_url ) %]
131
                                [% END # /FOREACH innerloo %]
122
                                                                <a href="[% subfiel.marc_value | url %]">[% subfiel.marc_value | html %]</a>
132
                            [% END # /tab_panel#tab${ BIG_LOO.number }XX  %]
123
                                                            [% ELSE %]
133
                        [% END # /FOREACH BIG_LOO %]
124
                                                                [% subfiel.marc_value | html %]
134
                    [% END # /WRAPPER tab_panels %]
125
                                                            [% END %]
135
                [% END # /WRAPPER tabs %]
126
                                                        </span>
127
                                                    </div> <!-- /.subfield_content.marc_field -->
128
                                                </div> <!-- /.auth_subfield -->
129
                                            [% END #/FOREACH subfiel %]
130
                                        </div> <!-- /.tag -->
131
                                    [% END # /FOREACH innerloo %]
132
                                [% END # /tab_panel#tab${ BIG_LOO.number }XX  %]
133
                            [% END # /FOREACH BIG_LOO %]
134
                        [% END # /WRAPPER tab_panels %]
135
                    [% END # /WRAPPER tabs %]
136
136
                [% END # /IF html %]
137
                [% END # /IF html %]
137
138
138
            [% END # /IF ( unknownauthid ) %]
139
            [% END # /IF ( unknownauthid ) %]
139
- 

Return to bug 35305