-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
changed import name and fixed typo in test
- Loading branch information
Mudiwa Matanda
authored and
Mudiwa Matanda
committed
Feb 8, 2024
1 parent
ac509f9
commit 03ccfc9
Showing
2 changed files
with
37 additions
and
2 deletions.
There are no files selected for viewing
35 changes: 35 additions & 0 deletions
35
home/templates/wagtail_content_import/picker_buttons_base.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{% if default_picker %} | ||
<li class="actions import-container content-import"> | ||
<div class="dropdown dropup dropdown-button match-width"> | ||
<div class="content-import button button-longrunning dropdown-toggle"> | ||
<i class="icon icon-folder-open-inverse content-import docs-blue"></i> | ||
Import web from doc | ||
</div> | ||
<div class="content-import dropdown-toggle icon icon-arrow-up"></div> | ||
<ul> | ||
<li> | ||
<a href="#" | ||
data-content-import-picker="{{ default_picker.name }}" | ||
data-import-page-url="{% block default_import_page_url %}{% endblock %}" | ||
{% block default_extra_attrs %}{% endblock %} | ||
class="content-import button button-longrunning"> | ||
<i class="icon {{ default_picker.icon }} content-import docs-blue"></i> | ||
Import from {{ default_picker.verbose_name }} | ||
</a> | ||
</li> | ||
{% for picker in picker_options %} | ||
<li> | ||
<a href="#" | ||
data-content-import-picker="{{ picker.name }}" | ||
data-import-page-url="{% block import_page_url %}{% endblock %}" | ||
{% block extra_attrs %}{% endblock %} | ||
class="content-import button button-longrunning"> | ||
<i class="icon {{ picker.icon }} content-import docs-blue"></i> | ||
Import from {{ picker.verbose_name }} | ||
</a> | ||
</li> | ||
{% endfor %} | ||
</ul> | ||
</div> | ||
</li> | ||
{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters