id = h.target; NEXT IF seenit.$id; seenit.$id = 1; %]
[% target = h.target; %]
[% IF result.ref_headings.$target.show == 1; %]
- <li><span class="browse-result-authority-field-name">[% result.ref_headings.$target.display %]</span>
- <a class="staff-client-link"
- url="[% mkurl(ctx.opac_root _ '/see_also', {query => 'identifier|authority_id[' _ h.target _ ']'}
- ) %];
- see_also=[% h.heading | html %]"
- onclick = "new_tab( this )" >
- [% h.heading | html %]
- </a>
- <span class="browse-result-authority-bib-links browse-result-sources">([% h.target_count %])</span>
+ <li>
+ <div style="display:block; width:99%;" class="browse-result-authority-field-name">[% result.ref_headings.$target.display %]
+ <a class="staff-client-link"
+ see_also="[% h.heading | html %]"
+ url="[% mkurl(ctx.opac_root _ '/see_also', {query => 'identifier|authority_id[' _ h.target _ ']'}
+ ) %];see_also=[% h.heading | html %]"
+ onclick = "new_tab( this )" >
+ [% h.heading | html %]
+ </a>
+
+ <!-- This was pretty much the only way to do this, sets allows the a tag to wrap while maintaining vertical alignment of the sees number -->
+ <span style="float:right; position:relative; left: 1%;" class="browse-result-authority-bib-links browse-result-sources">([% h.target_count %])</span>
+ </div>
+
<div>
[% FOR note IN result.ref_headings.$target.notes %]
<div class="browse-public-general-note">
[% END %]
</div>
</li>
+ <br>
[% END %]
[% END %]
[% END %]