From 045d51b14da767b0042976084532f712ac94d4e7 Mon Sep 17 00:00:00 2001 From: skmedix Date: Thu, 4 Sep 2025 19:38:04 +0200 Subject: [PATCH] feat: changed profiler icon --- README.md | 2 +- src/Resources/views/collector/icon.svg | 2 ++ src/Resources/views/profiler/layout.html.twig | 6 ++++-- 3 files changed, 7 insertions(+), 3 deletions(-) create mode 100644 src/Resources/views/collector/icon.svg diff --git a/README.md b/README.md index 08d3e05..35bb88a 100644 --- a/README.md +++ b/README.md @@ -88,4 +88,4 @@ the given context. Credits ------------------------- -Profiler icon from https://github.com/ionic-team/ionicons +Profiler icon from https://github.com/tabler/tabler-icons diff --git a/src/Resources/views/collector/icon.svg b/src/Resources/views/collector/icon.svg new file mode 100644 index 0000000..f804d32 --- /dev/null +++ b/src/Resources/views/collector/icon.svg @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/src/Resources/views/profiler/layout.html.twig b/src/Resources/views/profiler/layout.html.twig index e40df9a..6d6df7d 100644 --- a/src/Resources/views/profiler/layout.html.twig +++ b/src/Resources/views/profiler/layout.html.twig @@ -3,7 +3,7 @@ {% block toolbar %} {% if collector.summary.features|length > 0 %} {% set icon %} - Feature toggle + {{ include('@Flagception/collector/icon.svg') }} {{ collector.summary.features }} features {% endset %} @@ -34,7 +34,9 @@ {% block menu %} - Feature toggle + + {{ include('@Flagception/collector/icon.svg') }} + Features {% if collector.summary.features > 0 %}