Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add explanatory titles to cache management buttons #38598

Open
wants to merge 4 commits into
base: 2.4-develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions app/code/Magento/Backend/Block/Cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ protected function _construct()
'flush_magento',
[
'label' => __('Flush Magento Cache'),
'title' => __('Similar action as bin/magento cache:clean'),
'onclick' => 'setLocation(\'' . $this->getFlushSystemUrl() . '\')',
'class' => 'primary flush-cache-magento'
]
Expand All @@ -40,6 +41,7 @@ protected function _construct()
'flush_system',
[
'label' => __('Flush Cache Storage'),
'title' => __('Similar action as bin/magento cache:flush'),
'onclick' => 'confirmSetLocation(\'' . $message . '\', \'' . $this->getFlushStorageUrl() . '\')',
'class' => 'flush-cache-storage'
]
Expand Down