{% extends "sprout-base-import/_layouts/base" %} {% import "_includes/forms" as forms %} {% import 'sprout-base/_includes/sproutcp' as sproutCore %} {% set title = 'Weed'|t('sprout-import') %} {% set hasSeeds = craft.sproutImport.hasSeeds() %} {% do view.registerAssetBundle("barrelstrength\\sproutbase\\app\\import\\web\\assets\\import\\ImportAsset") %} {% set baseAssetsUrl = view.getAssetManager().getPublishedUrl('@sproutimport', true) %} {% block content %} {% if seeds is not empty %} {% for seed in seeds %} {% endfor %}
{{ "Import Date"|t('sprout-import') }} {{ "Total"|t('sprout-import') }} {{ "Type"|t('sprout-import') }}  
{{ seed['dateCreated']|date('M d, Y h:i A') }} {{ seed['total'] }} {{ seed['seedType'] }} {{ seed['details'] }}
{{ csrfInput() }} {{ redirectInput("sprout-import/weed") }}
{{ csrfInput() }} {{ redirectInput("sprout-import/weed") }}
{% else %} {{ sproutCore.mediaBox({ resourcePath: '@sproutbase/web/assets/cp/dist/images/sprout-icon.svg', heading: "The garden is weeded"|t('sprout-import'), body: "Currently, no content or settings in your database are marked as seed content. Get started and import content and settings or generate seed content."|t({ importLink: cpUrl('sprout-import/index'), seedLink: cpUrl('sprout-import/seed') }) }) }} {% endif %} {% endblock %} {% block details %}

{{ "Managing seed data"|t('sprout-import') }}

{{ "This page lists all content and settings that have been imported into your database and marked as seed data. When seed data exists, you can choose to keep or remove this data."|t('sprout-import') }}

{{ "Weed"|t('sprout-import') }}

{{ "Select weed to remove all imported content or settings of a particular type."|t('sprout-import')|raw }}

{{ "Keep"|t('sprout-import') }}

{{ "Select keep to unmark seed data and continue to manage it as permanent content and settings in Craft."|t('sprout-import')|raw }}

{% endblock %}