[ckan-changes] [okfn/ckan] 1db8d7: [#1251] Update IResourceView interface.

GitHub noreply at github.com
Mon Nov 4 11:15:01 UTC 2013


  Branch: refs/heads/1251-resource-view
  Home:   https://github.com/okfn/ckan
  Commit: 1db8d708de19b0c22f2ef48f69eee87d18056dba
      https://github.com/okfn/ckan/commit/1db8d708de19b0c22f2ef48f69eee87d18056dba
  Author: John Glover <j at johnglover.net>
  Date:   2013-11-04 (Mon, 04 Nov 2013)

  Changed paths:
    M ckan/controllers/package.py
    M ckan/lib/datapreview.py
    M ckan/lib/helpers.py
    M ckan/plugins/interfaces.py
    M ckan/templates/package/view_edit_base.html

  Log Message:
  -----------
  [#1251] Update IResourceView interface.

Use 'view' instead of 'preview' and update docstrings.
Update code that uses IResourceView plugins
accordingly.


  Commit: 0b930d13fc06eacbe5f028f7f8195597a042b9bc
      https://github.com/okfn/ckan/commit/0b930d13fc06eacbe5f028f7f8195597a042b9bc
  Author: John Glover <j at johnglover.net>
  Date:   2013-11-04 (Mon, 04 Nov 2013)

  Changed paths:
    M ckanext/imageview/plugin.py
    M ckanext/imageview/theme/templates/image_view.html

  Log Message:
  -----------
  [#1251] Update ckanext.imageview to work with new
IResourceView changes.

Use 'view' instead of 'preview'.

Move 'form_template' to top level method.

If no image_url specified, try to view the resource url.


Compare: https://github.com/okfn/ckan/compare/f0f771e51666...0b930d13fc06


More information about the ckan-changes mailing list