Skip to content

Commit

Permalink
Merge pull request #10 from eHealthAfrica/restore-dataset-form
Browse files Browse the repository at this point in the history
fix: restore dataset form
  • Loading branch information
hkmshb authored Jan 14, 2021
2 parents db43093 + 2711669 commit 25d308e
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 26 deletions.
4 changes: 2 additions & 2 deletions ckanext/biskit/templates/home/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@


<div class="container-fluid top-desc">
<h2> Blood Information System for Krisis Intervention and Management.</h2>
<h2> Blood Information System for Crisis Intervention and Management.</h2>
</div>

{% block primary %}
Expand All @@ -27,4 +27,4 @@ <h2> Blood Information System for Krisis Intervention and Management.</h2>

</div>

{% endblock %}
{% endblock %}
3 changes: 1 addition & 2 deletions ckanext/biskit/templates/home/snippets/search.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,8 @@
</form>
<div class="tags">
<span>{{ _('Popular tags :') }}</span>
<a class="tag" href="#">Hospital</a><a class="tag" href="#">Supplier</a>
{% for tag in tags %}
<a class="tag" href="{% url_for controller='package', action='search', tags=tag.name %}">{{ h.truncate(tag.display_name, 22) }}</a>
{% endfor %}
</div>
</div>
</div>
36 changes: 14 additions & 22 deletions ckanext/biskit/templates/package/base_form_page.html
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 %}

0 comments on commit 25d308e

Please sign in to comment.