PINES - fix opac copy table layout issue
authorTerran McCanna <tmccanna@georgialibraries.org>
Wed, 21 Dec 2022 14:24:24 +0000 (09:24 -0500)
committerChris Sharp <csharp@georgialibraries.org>
Wed, 21 Dec 2022 21:09:20 +0000 (16:09 -0500)
Removes excess </td> leftover from a merge, clean up code spacing

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Open-ILS/src/templates-bootstrap/opac/parts/record/copy_table.tt2

index fe5f515..39eb4e6 100755 (executable)
@@ -173,38 +173,38 @@ END; # FOREACH bib
             </td>[% END %]
             <td><span property="sku">[% callnum | html %]</span> [% IF ctx.get_org_setting(CGI.param('loc')
                 OR ctx.aou_tree.id, 'sms.enable') == 1 %]<br/><a title="" data-toggle="tooltip" data-original-title="[% l('Send this call number to yourself as an SMS text message.') %]"><i class="fas fa-paper-plane" aria-hidden="true" style="color:#5781AB;"></i></a> <i><a href="[% mkurl(ctx.opac_root _ '/sms_cn',
-               {copy_id => copy_info.id}) %];rec=[%- ctx.bre_id -%]" rel="nofollow" vocab="">[% l('Send SMS Text') %]</a></i>[% END %]</td>
+               {copy_id => copy_info.id}) %];rec=[%- ctx.bre_id -%]" rel="nofollow" vocab="">[% l('Send SMS Text') %]</a></i>[% END %]<br/>
 
-       [% IF copy_info.notes; %]
-            [% FOREACH note IN copy_info.notes; %]
-                <div><span class="copy_note_label">[% note.title _ ": " | html %]</span><span class="copy_note_value">[% note.value | html %]</span></div>
-            [% END %]
-        [% END %]
+               [% IF copy_info.notes; %]
+                    [% FOREACH note IN copy_info.notes; %]
+                        <div><span class="copy_note_label">[% note.title _ ": " | html %]</span><span class="copy_note_value">[% note.value | html %]</span></div>
+                    [% END %]
+                [% END %]
 
-       [% IF copy_info.tags; %]
-            [% FOREACH tag IN copy_info.tags; %]
-                    <div>
-                    <span class="copy_tag_type_label">[% tag.tag_type.label _ ": " | html %]</span>
-                        <span class="copy_tag_value">
-                        [% IF tag.url %]
-                            <a href="[% tag.url | html %]">
-                            [% END %]
-                                [% tag.value | html %]
-                            [% IF tag.url %]
-                            </a>
-                            [% END %]
-                        </span>
-                    </div>
-            [% END %]
-        [% END %]
-        [% IF copy_info.statcats.size; %]
-            [% FOREACH statcat IN copy_info.statcats;
-                IF statcat.stat_cat.opac_visible == 't'; %]
-                    <br/>[% statcat.stat_cat.name %]: [% statcat.value %]
-                [% END;
-            END %]
-        [% END %]
-        </td>
+               [% IF copy_info.tags; %]
+                    [% FOREACH tag IN copy_info.tags; %]
+                            <div>
+                                <span class="copy_tag_type_label">[% tag.tag_type.label _ ": " | html %]</span>
+                                <span class="copy_tag_value">
+                                [% IF tag.url %]
+                                    <a href="[% tag.url | html %]">
+                                    [% END %]
+                                        [% tag.value | html %]
+                                    [% IF tag.url %]
+                                    </a>
+                                [% END %]
+                                </span>
+                            </div>
+                    [% END %]
+                [% END %]
+                [% IF copy_info.statcats.size; %]
+                    [% FOREACH statcat IN copy_info.statcats;
+                        IF statcat.stat_cat.opac_visible == 't'; %]
+                            <br/>[% statcat.stat_cat.name %]: [% statcat.value %]
+                        [% END;
+                    END %]
+                [% END %]
+            </td>
             [%- IF has_parts == 'true' %]
             <td>[% copy_info.part_label | html %]</td>
             [%- END %]