-
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.
Merge branch 'main' of https://github.com/praekeltfoundation/contentrepo
- Loading branch information
Showing
7 changed files
with
129 additions
and
23 deletions.
There are no files selected for viewing
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
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
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
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
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
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 |
---|---|---|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" | |
|
||
[project] | ||
name = "contentrepo" | ||
version = "1.1.0-dev.4" | ||
version = "1.1.1-dev.0" | ||
authors = [ | ||
{ name="Praekelt.org", email="[email protected]" }, | ||
] | ||
|