{%- import "_includes/forms" as forms -%} {% import 'sprout-base/_includes/sproutcp' as sprout %} {% do view.registerAssetBundle("barrelstrength\\sproutbase\\web\\assets\\cp\\CpAsset") %} {%- set resultsTemplate = settings.resultsTemplate is defined ? settings.resultsTemplate : "" -%} {%- set settingsTemplate = settings.settingsTemplate is defined ? settings.settingsTemplate : "" -%} {%- set reportSettingsPage = craft.app.request.getSegment(3) != 'view' ? true : false -%} {%- if settingsContents %} {%- namespace 'settings' %} {{- settingsContents|raw -}} {% endnamespace -%} {% else %} {% set boxBody %}
{{ "Migrate to Craft with all of your existing website metadata using Sprout SEO and Sprout Import. Sprout Import makes it easy to keep your Search, Social Sharing, Geo, and Robots metadata, and gives you the opportunity to enhance it with additional Structured Data and improve your workflow."|t('sprout-reports', { url: "https://sprout.barrelstrengthdesign.com/craft-plugins/import" })|raw }}
{% endset %} {% set boxBody %}{{ "Give your users the ability to refine their results with a date range, lightswitch, and more. Build custom Twig Template reports with a Craft-friendly look and feel. [Learn more]({url})."|t('sprout-reports', { url: "https://sprout.barrelstrengthdesign.com/craft-plugins/reports/docs/custom-reports/custom-twig-template-report" })|markdown }}
{% endset %} {{ sprout.mediaBox({ heading: "Give your users options"|t('sprout-reports'), body: boxBody, resourcePath: '@sproutbase/app/reports/web/assets/base/dist/images/icon.svg' }) }} {%- endif -%}