Bug 23196: (follow-up) Add comments to highlight structure
authorOwen Leonard <oleonard@myacpl.org>
Mon, 24 Jun 2019 17:16:07 +0000 (17:16 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 28 Jun 2019 13:38:19 +0000 (14:38 +0100)
This follow-up adds a few comments to the markup in order to highlight
and clarify the the HTML structure.

To test, apply the patch and perform a diff against master using the
'-w' flag:

git diff -w origin/master

You should only see the addition of HTML comments.

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_record_modification.tt

index 729894d..5376298 100644 (file)
@@ -56,7 +56,7 @@
                                 </div>
                             [% END %]
 
-                        </div>
+                        </div> <!-- /.dialog.message -->
                     [% END %]
 
                     [% IF view == 'form' %]
                                     &nbsp;
                                 </div>
 
-                            </div>
+                            </div> <!-- /#batch_mod_form -->
 
                             <fieldset class="rows">
                                 <legend>Use MARC Modification Template:</legend>
                                 <input type="submit" value="Continue" class="button" />
                                 <a class="cancel" href="/cgi-bin/koha/tools/tools-home.pl">Cancel</a>
                             </fieldset>
-                        </form>
+                        </form> <!-- /#record_ids_selection -->
                     [% ELSIF view == 'list' %]
                         [% IF records %]
                             <form action="/cgi-bin/koha/tools/batch_record_modification.pl" method="post" id="process">
                                                 </tr>
                                             [% END %]
                                         </tbody>
-                                    </table>
+                                    </table> <!-- /#biblios -->
                                     <div class="note"><i class="fa fa-exclamation"></i> Reminder: this action will modify all selected biblios!</div>
                                 [% ELSE %]
                                     <div id="toolbar">
                                                 </tr>
                                             [% END %]
                                         </tbody>
-                                    </table>
+                                    </table> <!-- /#authorities -->
                                     <div class="note"><i class="fa fa-exclamation"></i> Reminder: this action will modify all selected authorities!</div>
                                 [% END %]
                                 <fieldset class="action">
                                     <div id="jobstatus" class="progress_panel">Job progress: <div id="jobprogress"></div> <span id="jobprogresspercent">0</span>%</div>
                                     <div id="jobfailed"></div>
                                 </div>
-                            </form>
+                            </form> <!-- /#process -->
                         [% ELSE %]
                             <div class="dialog message">
                                 No records were modified. <a href="/cgi-bin/koha/tools/batch_record_modification.pl" title="New batch record modification">New batch record modification</a>