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 %}