Skip to content

Commit

Permalink
Move version in hover tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
Damien authored and alanpoulain committed Sep 10, 2020
1 parent 6824406 commit 875ff2b
Showing 1 changed file with 6 additions and 1 deletion.
Expand Up @@ -80,10 +80,15 @@
{% set icon %}
{% set status_color = collector.counters.ignored_filters|default(false) ? 'yellow' : 'default' %}
{{ include('@ApiPlatform/DataCollector/api-platform-icon.svg') }}
<span class="sf-toolbar-value">{{ collector.version }}</span>
{% endset %}

{% set text %}
{% if collector.version %}
<div class="sf-toolbar-info-piece">
<b>Version</b>
<span>{{ collector.version }}</span>
</div>
{% endif %}
<div class="sf-toolbar-info-piece">
<b>Resource Class</b>
<span>{{ collector.resourceClass|default('Not an API Platform resource') }}</span>
Expand Down

0 comments on commit 875ff2b

Please sign in to comment.