[ckan-changes] [okfn/ckan] 11f5cb: [#1377] Add this.options and this.el javascript ex...

GitHub noreply at github.com
Mon Dec 16 20:40:09 UTC 2013


  Branch: refs/heads/1377-javascript-tutorial
  Home:   https://github.com/okfn/ckan
  Commit: 11f5cb0fb370f87a1825d5bf9442bdec8a8625ac
      https://github.com/okfn/ckan/commit/11f5cb0fb370f87a1825d5bf9442bdec8a8625ac
  Author: Sean Hammond <seanhammond at lavabit.com>
  Date:   2013-12-12 (Thu, 12 Dec 2013)

  Changed paths:
    A ckanext/example_theme/v17_popover/__init__.py
    A ckanext/example_theme/v17_popover/fanstatic/example_theme_popover.js
    A ckanext/example_theme/v17_popover/plugin.py
    A ckanext/example_theme/v17_popover/templates/snippets/package_item.html
    M doc/theming/best-practices.rst
    M doc/theming/javascript.rst
    M setup.py

  Log Message:
  -----------
  [#1377] Add this.options and this.el javascript example


  Commit: 3b788ac004cf9d701e93848adba75698e9f675fb
      https://github.com/okfn/ckan/commit/3b788ac004cf9d701e93848adba75698e9f675fb
  Author: Sean Hammond <seanhammond at lavabit.com>
  Date:   2013-12-16 (Mon, 16 Dec 2013)

  Changed paths:
    A ckanext/example_theme/v18_snippet_api/__init__.py
    A ckanext/example_theme/v18_snippet_api/fanstatic/example_theme_popover.css
    A ckanext/example_theme/v18_snippet_api/fanstatic/example_theme_popover.js
    A ckanext/example_theme/v18_snippet_api/plugin.py
    A ckanext/example_theme/v18_snippet_api/templates/ajax_snippets/example_theme_popover.html
    A ckanext/example_theme/v18_snippet_api/templates/snippets/package_item.html
    M setup.py

  Log Message:
  -----------
  [#1377] Add a snippet API javascript example

This example could be improved by passing only the package id to the
snippet, the snippet can then use h.get_action('package_show')(...) to
get the full package dict.


Compare: https://github.com/okfn/ckan/compare/619cc271138a...3b788ac004cf


More information about the ckan-changes mailing list