Bug 31625: (follow-up) Markup comments

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

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

Signed-off-by: Andrew Fuerste-Henry <andrewfh@dubcolib.org>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Owen Leonard 2022-09-26 15:02:25 +00:00 committed by Tomas Cohen Arazi
parent b8450e4e5b
commit c70e82ea4f
No known key found for this signature in database
GPG Key ID: 0A272EA1B2F3C15F
2 changed files with 10 additions and 10 deletions

View File

@ -45,7 +45,7 @@
<li><a href="/cgi-bin/koha/tools/picture-upload.pl">Upload patron images</a></li>
[% END %]
</ul>
[% END %]
[% END # /IF ( CAN_user_tools_manage_patron_lists... %]
[% IF ( CAN_user_tools_items_batchdel || CAN_user_tools_items_batchmod || CAN_user_tools_records_batchdel || CAN_user_tools_records_batchmod || CAN_user_tools_export_catalog || CAN_user_tools_inventory || CAN_user_tools_label_creator || CAN_user_tools_rotating_collections || ( CAN_user_stockrotation_manage_rotas && Koha.Preference('StockRotation') ) || CAN_user_tools_marc_modification_templates || CAN_user_tools_stage_marc_import || CAN_user_tools_manage_staged_marc || CAN_user_tools_upload_local_cover_images ) %]
<h5>Catalog</h5>
@ -95,7 +95,7 @@
<li><a href="/cgi-bin/koha/tools/upload-cover-image.pl">Upload local cover image</a></li>
[% END %]
</ul>
[% END %]
[% END # /IF ( CAN_user_tools_items_batchdel... %]
[% IF ( CAN_user_tools_edit_calendar || CAN_user_tools_manage_csv_profiles || CAN_user_tools_view_system_logs || CAN_user_tools_edit_additional_contents || CAN_user_tools_schedule_tasks || CAN_user_tools_edit_quotes || ( plugins_enabled && CAN_user_plugins_tool ) || CAN_user_tools_upload_general_files || CAN_user_tools_access_files ) %]
<h5>Additional tools</h5>
@ -133,6 +133,6 @@
<li><a href="/cgi-bin/koha/tools/problem-reports.pl">OPAC problem reports</a></li>
[% END %]
</ul>
[% END %]
</div>
</div>
[% END # /IF ( CAN_user_tools_edit_calendar... %]
</div> <!-- /#navmenulist -->
</div> <!-- /#navmenu -->

View File

@ -101,7 +101,7 @@
<dd>Upload patron images in a batch or one at a time</dd>
[% END %]
</dl>
</div>
</div> <!-- /.col-sm-4 -->
<div class="col-sm-4 col-sm-push-4">
[% IF ( CAN_user_tools_edit_calendar || CAN_user_tools_manage_csv_profiles || CAN_user_tools_view_system_logs || CAN_user_tools_edit_additional_contents || CAN_user_tools_schedule_tasks || CAN_user_tools_edit_quotes || ( plugins_enabled && CAN_user_plugins_tool ) || CAN_user_tools_upload_general_files || CAN_user_tools_access_files ) %]
@ -158,7 +158,7 @@
[% END %]
</ul>
</dd>
[% END %]
[% END # /IF ( plugins_enabled... %]
[% IF ( CAN_user_tools_upload_general_files ) %]
<dt><a href="/cgi-bin/koha/tools/upload.pl">Upload</a></dt>
@ -187,7 +187,7 @@
<dd>View transaction history for the current cash register</dd>
</dl>
[% END %]
</div>
</div> <!-- /.col-sm-4... -->
<div class="col-sm-4 col-sm-pull-4">
[% IF ( CAN_user_tools_items_batchdel || CAN_user_tools_items_batchmod || CAN_user_tools_records_batchdel || CAN_user_tools_records_batchmod || CAN_user_tools_export_catalog || CAN_user_tools_inventory || CAN_user_tools_label_creator || CAN_user_tools_rotating_collections || ( CAN_user_stockrotation_manage_rotas && Koha.Preference('StockRotation') ) || CAN_user_tools_marc_modification_templates || CAN_user_tools_stage_marc_import || CAN_user_tools_manage_staged_marc || CAN_user_tools_upload_local_cover_images ) %]
@ -274,7 +274,7 @@
<dd>Utility to upload scanned cover images for display in OPAC</dd>
[% END %]
</dl>
</div>
</div>
</div> <!-- /.col-sm-4... -->
</div> <!-- /.row -->
[% INCLUDE 'intranet-bottom.inc' %]