From e4885be4fbf1ce29c33f32e3826b6ff8daec443a Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 26 Sep 2022 15:02:25 +0000 Subject: [PATCH] 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. --- .../intranet-tmpl/prog/en/includes/tools-menu.inc | 10 +++++----- .../intranet-tmpl/prog/en/modules/tools/tools-home.tt | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/tools-menu.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/tools-menu.inc index e9a983df88..849b17120c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/tools-menu.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/tools-menu.inc @@ -45,7 +45,7 @@
  • Upload patron images
  • [% END %] - [% 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 ) %]
    Catalog
    @@ -95,7 +95,7 @@
  • Upload local cover image
  • [% END %] - [% 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 ) %]
    Additional tools
    @@ -133,6 +133,6 @@
  • OPAC problem reports
  • [% END %] - [% END %] - - + [% END # /IF ( CAN_user_tools_edit_calendar... %] + + diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/tools-home.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/tools-home.tt index f84dea7e64..5aee6ec6f3 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/tools-home.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/tools-home.tt @@ -101,7 +101,7 @@
    Upload patron images in a batch or one at a time
    [% END %] - +
    [% 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 %] - [% END %] + [% END # /IF ( plugins_enabled... %] [% IF ( CAN_user_tools_upload_general_files ) %]
    Upload
    @@ -187,7 +187,7 @@
    View transaction history for the current cash register
    [% END %] -
    +
    [% 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 @@
    Utility to upload scanned cover images for display in OPAC
    [% END %] -
    - + + [% INCLUDE 'intranet-bottom.inc' %] -- 2.20.1