diff --git a/ckanext/harvest/controllers/view.py b/ckanext/harvest/controllers/view.py index 7665b56..86099ec 100644 --- a/ckanext/harvest/controllers/view.py +++ b/ckanext/harvest/controllers/view.py @@ -273,7 +273,7 @@ class ViewController(BaseController): harvest_list.append({'text':harvester['title'], 'value': harvester['name']}) items = [ - {'name': 'url', 'control': 'input', 'label': _('URL for source of metadata'), 'placeholder': _(''), 'extra_info': 'This should include the http:// part of the URL'}, + {'name': 'url', 'control': 'input', 'label': _('URL'), 'placeholder': _(''), 'extra_info': 'This should include the http:// part of the URL'}, {'name': 'type', 'control': 'select', 'options': harvest_list, 'label': _('Source type'), 'placeholder': _(''), 'extra_info': 'Which type of source does the URL above represent? '}, {'name': 'title', 'control': 'input', 'label': _('Title'), 'placeholder': _(''), 'extra_info': 'This will be shown as the datasets source.'}, {'name': 'description', 'control': 'textarea', 'label': _('Description'), 'placeholder': _(''), 'extra_info':'You can add your own notes here about what the URL above represents to remind you later.'},] diff --git a/ckanext/harvest/public/ckanext/harvest/style.css b/ckanext/harvest/public/ckanext/harvest/style.css index 1c08652..e07e262 100644 --- a/ckanext/harvest/public/ckanext/harvest/style.css +++ b/ckanext/harvest/public/ckanext/harvest/style.css @@ -95,3 +95,7 @@ body.index.ViewController .content-outer { #harvest-source-details th { width: 33%; } + +#source-new { + margin-top: 30px; +} diff --git a/ckanext/harvest/templates_new/source/edit.html b/ckanext/harvest/templates_new/source/edit.html index 576a6d6..39d718e 100644 --- a/ckanext/harvest/templates_new/source/edit.html +++ b/ckanext/harvest/templates_new/source/edit.html @@ -5,6 +5,11 @@ {% block breadcrumb_content %} {% endblock %} +{% block styles %} + {{ super() }} + +{% endblock %} + {% block primary %}
@@ -17,9 +22,3 @@ {% endblock %} {% block sidebar %}{% endblock %} -{# - - - - - #} diff --git a/ckanext/harvest/templates_new/source/new.html b/ckanext/harvest/templates_new/source/new.html index 3cb3dcb..ee815b1 100644 --- a/ckanext/harvest/templates_new/source/new.html +++ b/ckanext/harvest/templates_new/source/new.html @@ -5,6 +5,11 @@ {% block breadcrumb_content %} {% endblock %} +{% block styles %} + {{ super() }} + +{% endblock %} + {% block primary %}
@@ -19,10 +24,3 @@ {% endblock %} {% block sidebar %}{% endblock %} - -{# - - - - -#}