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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/authorities-search-results.inc (+30 lines)
Lines 112-117 Link Here
112
              </div>
112
              </div>
113
            [% END %]
113
            [% END %]
114
        [% ELSE %]
114
        [% ELSE %]
115
            [% IF summary.notes.size %]
116
                <div class="authres_notes">
117
                    [% PROCESS notesmodal notes=summary.notes authid=authid %]
118
                    <span><a href="#" data-toggle="modal" data-target="#notesModal_[% authid | html %]">Notes</a></span>
119
                </div>
120
            [% END %]
115
            [% IF ( summary.seefrom.size >= 1 ) %]
121
            [% IF ( summary.seefrom.size >= 1 ) %]
116
            <div class="seefrom">
122
            <div class="seefrom">
117
                <span class="seefrom">used for/see from:</span>
123
                <span class="seefrom">used for/see from:</span>
Lines 152-154 Link Here
152
   [% CASE %]<span>[% lang | html %]</span>
158
   [% CASE %]<span>[% lang | html %]</span>
153
  [% END %]
159
  [% END %]
154
[% END %]
160
[% END %]
161
162
[% BLOCK notesmodal %]
163
<!-- notes modal -->
164
<div style='font-style:normal;' class="modal fade notesModal" id="notesModal_[% authid | html %]" tabindex="-1" role="dialog" aria-labelledby="notesModalLabel">
165
    <div class="modal-dialog" role="document">
166
        <div class="modal-content">
167
            <div class="modal-header">
168
                <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
169
                <h4 class="modal-title" id="notesModalLabel">Notes</h4>
170
            </div>
171
            <div class="modal-body">
172
                <ul>
173
                    [% FOREACH note IN notes %]
174
                        <li>[% note.note | html %]</li>
175
                    [% END %]
176
                </ul>
177
            </div>
178
            <div class="modal-footer">
179
                <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
180
            </div>
181
        </div>
182
    </div>
183
</div>
184
[% END %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/authorities-search-results.inc (-1 / +30 lines)
Lines 98-103 Link Here
98
                </div>
98
                </div>
99
            [% END %]
99
            [% END %]
100
        [% ELSE %]
100
        [% ELSE %]
101
            [% IF summary.notes.size %]
102
                <div class="authres_notes">
103
                    [% PROCESS notesmodal notes=summary.notes authid=authid %]
104
                    <span><a href="#" data-toggle="modal" data-target="#notesModal_[% authid | html %]">Notes</a></span>
105
                </div>
106
            [% END %]
101
            [% IF ( summary.seefrom.size >= 1 ) %]
107
            [% IF ( summary.seefrom.size >= 1 ) %]
102
                    <span class="seefrom">used for/see from:</span>
108
                    <span class="seefrom">used for/see from:</span>
103
                [% FOREACH seefro IN summary.seefrom %]
109
                [% FOREACH seefro IN summary.seefrom %]
Lines 119-121 Link Here
119
        [% END # / IF marcflavour = 'UNIMARC' %]
125
        [% END # / IF marcflavour = 'UNIMARC' %]
120
    [% END # / UNLESS summary.summaryonly %]
126
    [% END # / UNLESS summary.summaryonly %]
121
[% END # / BLOCK authresult %]
127
[% END # / BLOCK authresult %]
122
- 
128
129
[% BLOCK notesmodal %]
130
<!-- notes modal -->
131
<div style='font-style:normal;' class="modal fade notesModal" id="notesModal_[% authid | html %]" tabindex="-1" role="dialog" aria-labelledby="notesModalLabel">
132
    <div class="modal-dialog" role="document">
133
        <div class="modal-content">
134
            <div class="modal-header">
135
                <h4 class="modal-title" id="notesModalLabel">Notes</h4>
136
                <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
137
            </div>
138
            <div class="modal-body">
139
                <ul>
140
                    [% FOREACH note IN notes %]
141
                        <li>[% note.note | html %]</li>
142
                    [% END %]
143
                </ul>
144
            </div>
145
            <div class="modal-footer">
146
                <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
147
            </div>
148
        </div>
149
    </div>
150
</div>
151
[% END %]

Return to bug 35328