Skip to content

Commit

Permalink
Render attribute templates in tooltip only for premium campaigns
Browse files Browse the repository at this point in the history
  • Loading branch information
ilestis committed Dec 12, 2023
1 parent 4b204a0 commit 89b9ffe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion resources/views/entities/components/tooltip.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
</a>
@endforeach
</div>@endif
@if ($render === 'attributes')
@if ($campaign->premium() && $render === 'attributes')
<iframe src="{{ route('entities.attributes-dashboard', [$campaign, $entity]) }}" class="tooltip-render w-full h-44" />
@else
<div class="tooltip-text text-sm">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
white-space: nowrap; }
dd { flex: 0 70% }
@media (min-width: 768px) {
dl { display: block;}
dl { display: unset;}
}
</style>
@endsection
Expand Down

0 comments on commit 89b9ffe

Please sign in to comment.