Skip to content

Commit

Permalink
Take into account changes from ic bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
MarioBlazek committed Jun 6, 2018
1 parent d933760 commit 66a1216
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bundle/DependencyInjection/NetgenAdminUIExtension.php
Expand Up @@ -131,6 +131,6 @@ protected function hasInformationCollection(array $activatedBundles, ContainerBu
}
# this service is backend for collected info admin
# if service exists then plugin should be available
return class_exists('Netgen\Bundle\InformationCollectionBundle\API\InformationCollectionService');
return interface_exists('Netgen\Bundle\InformationCollectionBundle\API\Service\InformationCollection');
}
}
@@ -1,7 +1,7 @@
{% if is_granted('ez:infocollector:read') %}
<li{% if active %} class="active"{% endif %}>
<a href="{{ path( 'netgen_information_collection.route.admin.overview' ) }}">
<img src="{{ asset('bundles/netgeninformationcollection/admin/images/collected-information-logo-silhouette.svg') }}" class="icon" />
<img src="{{ asset('bundles/netgeninformationcollection/admin/images/ic-logo-silhouette.svg') }}" class="icon" />
<span class="tt">{{ 'netgen_admin_ui.menu.information_collection'|trans }}</span>
</a>
</li>
Expand Down
@@ -1,5 +1,5 @@
<h4 class="leftmenu-hl">{{ 'netgen_admin_ui.menu.information_collection'|trans }}</h4>
<div class="tags-sidebar">
<div class="ic-sidebar">
<div class="sidebar-nav">
{% include '@NetgenInformationCollection/admin/main_menu.html.twig' %}
</div>
Expand Down

0 comments on commit 66a1216

Please sign in to comment.