-
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 pull request #10 from eHealthAfrica/restore-dataset-form
fix: restore dataset form
- Loading branch information
Showing
3 changed files
with
17 additions
and
26 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,16 @@ | ||
{% extends "package/edit_base.html" %} | ||
{% ckan_extends %} | ||
|
||
|
||
{% block secondary_content %} | ||
{% block info_module %} | ||
<section class="module module-narrow module-shallow"> | ||
<h2 class="module-heading"><i class="fa fa-info-circle"></i> {{ _('What are datasets?') }}</h2> | ||
<div class="module-content"> | ||
<p> | ||
{% trans %} | ||
A Dataset is a collection of data resources (such as files), | ||
together with a description and other information, at a fixed URL. | ||
Datasets are what users see when searching for data. | ||
{% endtrans %} | ||
</p> | ||
</div> | ||
</section> | ||
{% endblock %} | ||
|
||
{% block resources_module %} | ||
{# TODO: Pass in a list of previously created resources and the current package dict #} | ||
{% snippet "package/snippets/resources.html", pkg={}, action='new_resource' %} | ||
{% endblock %} | ||
{% block info_module %} | ||
<section class="module module-narrow module-shallow"> | ||
<h2 class="module-heading"><i class="fa fa-info-circle"></i> {{ _('What are datasets?') }}</h2> | ||
<div class="module-content"> | ||
<p> | ||
{% trans %} | ||
A Dataset is a collection of data resources (such as files), | ||
together with a description and other information, at a fixed URL. | ||
Datasets are what users see when searching for data. | ||
{% endtrans %} | ||
</p> | ||
</div> | ||
</section> | ||
{% endblock %} |