diff --git a/ckanext/biskit/public/img/ckan.ico b/ckanext/biskit/public/img/ckan.ico new file mode 100644 index 0000000..a84b7b7 Binary files /dev/null and b/ckanext/biskit/public/img/ckan.ico differ diff --git a/ckanext/biskit/templates/base.html b/ckanext/biskit/templates/base.html index d0850cf..ad246a9 100644 --- a/ckanext/biskit/templates/base.html +++ b/ckanext/biskit/templates/base.html @@ -1,2 +1,6 @@ {% resource 'biskit/styles/biskit.css' %} {% ckan_extends %} + +{% block links -%} + +{% endblock -%} diff --git a/ckanext/biskit/templates/footer.html b/ckanext/biskit/templates/footer.html index 351e043..08274bb 100644 --- a/ckanext/biskit/templates/footer.html +++ b/ckanext/biskit/templates/footer.html @@ -18,7 +18,7 @@ @@ -45,5 +45,5 @@ --> - + {% block footer_debug %} {% if g.debug %} {% include 'snippets/debug.html' %} {% endif %} {% endblock %} \ No newline at end of file diff --git a/ckanext/biskit/templates/header.html b/ckanext/biskit/templates/header.html index 92e4d4b..4b90165 100644 --- a/ckanext/biskit/templates/header.html +++ b/ckanext/biskit/templates/header.html @@ -52,7 +52,7 @@ {% block header_account_notlogged %}
  • {% link_for _('Log in'), named_route='user.login' %}
  • {% if h.check_access('user_create') %} -
  • {% link_for _('Register'), named_route='user.register', class_='sub' %}
  • + {% endif %} {% endblock %} diff --git a/ckanext/biskit/templates/package/base_form_page.html b/ckanext/biskit/templates/package/base_form_page.html new file mode 100644 index 0000000..0dba9e8 --- /dev/null +++ b/ckanext/biskit/templates/package/base_form_page.html @@ -0,0 +1,24 @@ +{% extends "package/edit_base.html" %} + + +{% block secondary_content %} + {% block info_module %} +
    +

    {{ _('What are datasets?') }}

    +
    +

    + {% 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 %} +

    +
    +
    + {% 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 %} +{% endblock %}