Lines 1-5
Link Here
|
1 |
[% BLOCK sourcetab %] |
1 |
[% BLOCK sourcetab %] |
2 |
<div id="tabrecord[% record.recordid | html %]"> |
2 |
<div id="tabrecord[% record.recordid | html %]" role="tabpanel" class="tab-pane"> |
3 |
<div class="record"> |
3 |
<div class="record"> |
4 |
<ul id="ulrecord[% record.recordid | html %]"> |
4 |
<ul id="ulrecord[% record.recordid | html %]"> |
5 |
[% FOREACH field IN record.display %] |
5 |
[% FOREACH field IN record.display %] |
Lines 45-68
Link Here
|
45 |
[% END %] |
45 |
[% END %] |
46 |
|
46 |
|
47 |
[% BLOCK mergesource %] |
47 |
[% BLOCK mergesource %] |
48 |
<div id="tabs" class="toptabs"> |
48 |
<div id="tabs" class="toptabs"> |
49 |
<h2>Source records</h2> |
49 |
<h2>Source records</h2> |
50 |
<ul> |
50 |
<ul class="nav nav-tabs" role="tablist"> |
51 |
[% FOREACH record IN sourcerecords %] |
51 |
[% FOREACH record IN sourcerecords %] |
52 |
<li> |
52 |
<li role="presentation"> |
53 |
<a href="#tabrecord[% record.recordid | uri %]"> |
53 |
<a href="#tabrecord[% record.recordid | uri %]" aria-controls="tabrecord[% record.recordid | uri %]" role="tab" data-toggle="tab"> |
54 |
[% record.recordid | html %] |
54 |
[% record.recordid | html %] |
55 |
[% IF record.reference %](ref)[% END %] |
55 |
[% IF record.reference %](ref)[% END %] |
56 |
</a> |
56 |
</a> |
57 |
</li> |
57 |
</li> |
58 |
[% END %] |
58 |
[% END %] |
59 |
</ul> |
59 |
</ul> |
60 |
[% IF ( sourcerecords.size ) %] |
60 |
<div class="tab-content"> |
61 |
[% FOREACH record IN sourcerecords %] |
61 |
[% IF ( sourcerecords.size ) %] |
62 |
[% PROCESS sourcetab tabrecord=record %] |
62 |
[% FOREACH record IN sourcerecords %] |
63 |
[% END %] |
63 |
[% PROCESS sourcetab tabrecord=record %] |
64 |
[% END %] |
64 |
[% END %] |
65 |
</div> <!-- // #tabs --> |
65 |
[% END %] |
|
|
66 |
</div> |
67 |
</div> <!-- // #tabs --> |
66 |
[% END %] |
68 |
[% END %] |
67 |
|
69 |
|
68 |
[% BLOCK mergetarget %] |
70 |
[% BLOCK mergetarget %] |