From dc060987a6bc0aae9a1f76fee524f5824c317f57 Mon Sep 17 00:00:00 2001
From: Owen Leonard <oleonard@myacpl.org>
Date: Thu, 9 Jun 2022 18:30:10 +0000
Subject: [PATCH] Bug 30936: (follow-up) Add markup comments

This patch adds comments to the template to highlight the markup
structure.

This patch should have no effect on the page's appearance or
functionality.

Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
---
 .../prog/en/modules/authorities/detail.tt     | 24 +++++++++----------
 1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/detail.tt
index 550046cf69..bbc1cc892b 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/detail.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/detail.tt
@@ -92,10 +92,10 @@
                                                 [% IF (innerloo.tag_desc) %]
                                                     <span class="dashwrapper"> -</span> <span class="tag_desc marc_field">[% innerloo.tag_desc | html %]</span>
                                                 [% END %]
-                                            </div>
+                                            </div> <!-- /.tag_title -->
                                     [% ELSE %]
                                         <div class="tag">
-                                    [% END %]
+                                    [% END # /IF ( innerloo.tag_number ) %]
 
                                         [% FOREACH subfiel IN innerloo.subfield %]
                                             <div class="auth_subfield">
@@ -115,16 +115,16 @@
                                                     </span>
                                                 </div> <!-- /.subfield_content.marc_field -->
                                             </div> <!-- /.auth_subfield -->
-                                        [% END %]
-                                    </div>
-                                [% END %]
-                            </div>
-                        [% END %]
+                                        [% END #/FOREACH subfiel %]
+                                    </div> <!-- /.tag -->
+                                [% END # /FOREACH innerloo %]
+                            </div> <!-- /.tab-pane -->
+                        [% END # /FOREACH BIG_LOO %]
                     </div> <!-- /.tab-content -->
-                </div>
-            [% END %]
-        </div>
-    </div>
+                </div> <!-- /#authoritiestabs -->
+            [% END # /IF ( unknownauthid ) %]
+        </div> <!-- /.col-md-8 col-md-offset-2 -->
+    </div> <!-- /.row -->
 
 [% MACRO jsinclude BLOCK %]
     [% INCLUDE 'authorities_js.inc' %]
@@ -163,7 +163,7 @@
                     e.preventDefault();
                     document.location.href = data.node.a_attr.href;
                 });
-            [% END %]
+            [% END # /IF ( displayhierarchy ) %]
          });
     </script>
 [% END %]
-- 
2.30.2