From 5e50eb3b2fd1fe2935f49f2e39577b636b0e6a26 Mon Sep 17 00:00:00 2001 From: guvra Date: Wed, 8 Nov 2023 17:11:13 +0100 Subject: [PATCH] Prepare version 7.0.1 --- CHANGELOG.md | 3 ++- view/base/templates/zone/cache.phtml | 8 ++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c4ef751..93fcf78 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,8 @@ All notable changes to this project will be documented in this file. -## WIP +## [7.0.1] - 2023-11-08 +[7.0.1]: https://github.com/Smile-SA/magento2-module-debug-toolbar/compare/7.0.0...7.0.1 - Renamed the "Generic" zone to "Server" - Renamed the "Mysql" zone to "Database" diff --git a/view/base/templates/zone/cache.phtml b/view/base/templates/zone/cache.phtml index 5f6343a..626038b 100644 --- a/view/base/templates/zone/cache.phtml +++ b/view/base/templates/zone/cache.phtml @@ -43,10 +43,10 @@ $sections['Number'] = [ ]; $sections['Size'] = [ - 'total' => $block->formatValue($sections['Size']['total'], [], 'size'), - 'load' => $block->formatValue($sections['Size']['load'], [], 'size'), - 'save' => $block->formatValue($sections['Size']['save'], [], 'size'), - 'remove' => $block->formatValue($sections['Size']['remove'], [], 'size'), + 'total' => $block->formatValue($sections['Size']['total'], ['gt' => 4096 * 1024], 'size'), + 'load' => $block->formatValue($sections['Size']['load'], ['gt' => 4096 * 1024], 'size'), + 'save' => $block->formatValue($sections['Size']['save'], ['gt' => 4096 * 1024], 'size'), + 'remove' => $block->formatValue($sections['Size']['remove'], ['gt' => 4096 * 1024], 'size'), ]; $sections['Time'] = [