Skip to content

Commit b3d9225

Browse files
committed
only use class option for media provider button
1 parent 0e46106 commit b3d9225

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

Resources/views/MediaAdmin/select_provider.html.twig

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,7 @@ file that was distributed with this source code.
2929
data-placement="top"
3030
title="{{ provider.providerMetadata.description|trans({}, 'MediaAdmin') }}"
3131
>
32-
{% if provider.providerMetadata.image is null %}
3332
<i class="{{ provider.providerMetadata.option('class') }}"></i>
34-
{% else %}
35-
<img src="{{ asset(provider.providerMetadata.image) }}" style="max-height: 20px; max-width: 100px;"/>
36-
<br />
37-
{% endif %}
3833
{{ provider.providerMetadata.title|trans({}, 'MediaAdmin') }}
3934

4035
</a>

0 commit comments

Comments
 (0)