Skip to content

Commit 463c737

Browse files
Change a red badge of disabled caches to grey (#12)
1 parent ee74c1c commit 463c737

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1515
- [#10] Add PHP v8 support
1616
- [#11] Fix missing "$hitRation" variable when OPCache is disabled
1717

18+
### Changed
19+
20+
- [#12] Change a red badge of disabled caches to grey
21+
1822
## [v0.2.0] - 2020-02-01
1923

2024
### Added
@@ -49,3 +53,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
4953
[#9]: https://github.com/PabloKowalczyk/CacheStatsBundle/pull/9
5054
[#10]: https://github.com/PabloKowalczyk/CacheStatsBundle/pull/10
5155
[#11]: https://github.com/PabloKowalczyk/CacheStatsBundle/pull/11
56+
[#12]: https://github.com/PabloKowalczyk/CacheStatsBundle/pull/12

src/Resources/views/partials/toolbar_macros.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
{% macro toolbar_Header(title, enabled) %}
66
<div class="sf-toolbar-info-piece">
77
<b>{{ title }}</b>
8-
<span class="sf-toolbar-status sf-toolbar-status-{{ enabled ? 'green' : 'red' }}">
8+
<span class="sf-toolbar-status sf-toolbar-status-{{ enabled ? 'green' : 'grey' }}">
99
{{ enabled ? 'Enabled' : 'Disabled' }}
1010
</span>
1111
</div>

0 commit comments

Comments
 (0)