[ckan-changes] [okfn/ckan] 4d4556: [#2750] Use ITemplateHelpers not setup_template_va...
GitHub
noreply at github.com
Fri Mar 15 14:43:46 UTC 2013
Branch: refs/heads/example_idatasetform_without_tests_second_try
Home: https://github.com/okfn/ckan
Commit: 4d455686b57bf94e7bb81dbd916f2b43b09cfbe7
https://github.com/okfn/ckan/commit/4d455686b57bf94e7bb81dbd916f2b43b09cfbe7
Author: Sean Hammond <seanhammond at lavabit.com>
Date: 2013-03-15 (Fri, 15 Mar 2013)
Changed paths:
M ckanext/example_idatasetform/plugin.py
R ckanext/example_idatasetform/templates/package/new_package_metadata.html
R ckanext/example_idatasetform/templates/package/snippets/package_form.html
M ckanext/example_idatasetform/templates/package/snippets/package_metadata_fields.html
R ckanext/example_idatasetform/templates/package/snippets/package_metadata_form.html
Log Message:
-----------
[#2750] Use ITemplateHelpers not setup_template_variables()
In ExampleIDatasetForm use ITemplateHelpers not
setup_template_variables() to pass the list of available country codes
to the template. This greatly reduces the number of templates that need
to be overridden!
More information about the ckan-changes
mailing list