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

Return to bug 35305