Owen Leonard
b88ec7daeb
This patch adds a "page-section" container div around the main section of cataloging and authority pages which lack it. This patch contains indentation changes, so please ignore whitespace when looking at the diff. Apply the patch and view the following pages to confirm that the main content is contained in a white box: - Cataloging -> Cataloging search results - Cataloging -> Edit items: The table of items and the item edit form should each be contained in a page-section. - Authorities -> Search results - Authorites -> Merge authorities: From the authorities search results list, click "Actions -> Merge" for one result, and then "Actions -> Merge" for another. - Click "Next" after selecting a merge reference. - The "Destination record" information should be contained in a page-section. Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
75 lines
4.4 KiB
HTML
75 lines
4.4 KiB
HTML
[% BLOCK sourcetab %]
|
|
<div id="tabrecord[% record.recordid | html %]" role="tabpanel" class="tab-pane">
|
|
<div class="record">
|
|
<ul id="ulrecord[% record.recordid | html %]">
|
|
[% FOREACH field IN record.display %]
|
|
[% IF field.tag != biblionumbertag %]
|
|
<li id="k[% field.key | html %]">
|
|
[% IF (tabrecord.reference) %]
|
|
<input type="checkbox" checked="checked" class="fieldpick" id="rec_[% record.recordid | html %]_[% field.key | html %]" />
|
|
[% ELSE %]
|
|
<input type="checkbox" class="fieldpick" id="rec_[% record.recordid | html %]_[% field.key | html %]" />
|
|
[% END %]
|
|
<label for="rec_[% record.recordid | html %]_[% field.key | html %]"><span class="field">[% field.tag | html %]</span></label>
|
|
|
|
<input type="hidden" name="tag_[% field.tag | html %]_indicator1_[% field.key | html %]" value="[% field.indicator1 | html %]" />
|
|
<input type="hidden" name="tag_[% field.tag | html %]_indicator2_[% field.key | html %]" value="[% field.indicator2 | html %]" />
|
|
[% IF ( field.value ) %]
|
|
/ [% field.value | html %]
|
|
<input type="hidden" name="tag_[% field.tag | html %]_code_00_[% field.key | html %]" value="00" />
|
|
<input type="hidden" name="tag_[% field.tag | html %]_subfield_00_[% field.key | html %]" value="[% field.value | html %]" />
|
|
[% END %]
|
|
|
|
[% IF ( field.subfield.size ) %]
|
|
<ul>
|
|
[% FOREACH subfield IN field.subfield %]
|
|
<li id="k[% subfield.subkey | html %]">
|
|
[% IF (tabrecord.reference) %]
|
|
<input type="checkbox" checked="checked" class="subfieldpick" id="rec_[% record.recordid | html %]_[% subfield.subkey | html %]" />
|
|
[% ELSE %]
|
|
<input type="checkbox" class="subfieldpick" id="rec_[% record.recordid | html %]_[% subfield.subkey | html %]" />
|
|
[% END %]
|
|
<label for="rec_[% record.recordid | html %]_[% subfield.subkey | html %]"><span class="subfield">[% subfield.subtag | html %]</span> / [% subfield.value | html %]</label>
|
|
<input type="hidden" name="tag_[% field.tag | html %]_code_[% subfield.subtag | html %]_[% field.key | html %]_[% subfield.subkey | html %]" value="[% subfield.subtag | html %]" />
|
|
<input type="hidden" name="tag_[% field.tag | html %]_subfield_[% subfield.subtag | html %]_[% subfield.key | html %]_[% subfield.subkey | html %]" value="[% subfield.value | html %]" />
|
|
</li>
|
|
[% END %]
|
|
</ul>
|
|
[% END %]
|
|
</li>
|
|
[% END %]
|
|
[% END %]
|
|
</ul>
|
|
</div><!-- /div.record -->
|
|
</div><!-- /div#tabrecordXXX -->
|
|
[% END %]
|
|
|
|
[% BLOCK mergesource %]
|
|
<div id="tabs" class="toptabs">
|
|
<h2>Source records</h2>
|
|
<ul class="nav nav-tabs" role="tablist">
|
|
[% FOREACH record IN sourcerecords %]
|
|
<li role="presentation">
|
|
<a href="#tabrecord[% record.recordid | uri %]" aria-controls="tabrecord[% record.recordid | uri %]" role="tab" data-toggle="tab">
|
|
[% record.recordid | html %]
|
|
[% IF record.reference %]<span>(ref)</span>[% END %]
|
|
</a>
|
|
</li>
|
|
[% END %]
|
|
</ul>
|
|
<div class="tab-content">
|
|
[% IF ( sourcerecords.size ) %]
|
|
[% FOREACH record IN sourcerecords %]
|
|
[% PROCESS sourcetab tabrecord=record %]
|
|
[% END %]
|
|
[% END %]
|
|
</div> <!-- /.tab-content -->
|
|
</div> <!-- // #tabs -->
|
|
[% END %]
|
|
|
|
[% BLOCK mergetarget %]
|
|
<h2>Destination record</h2>
|
|
<div id="result" class="page-section">
|
|
<ul id="resultul"></ul>
|
|
</div> <!-- // #result -->
|
|
[% END %]
|