[ckan-changes] [ckan/ckan] a2e30f: [#3103] Use helper for version instead of context

GitHub noreply at github.com
Fri Jun 10 10:27:14 UTC 2016


  Branch: refs/heads/3103-version-tmpl-helper
  Home:   https://github.com/ckan/ckan
  Commit: a2e30febe25aabcbcb34b4678489655086fa81f2
      https://github.com/ckan/ckan/commit/a2e30febe25aabcbcb34b4678489655086fa81f2
  Author: Brook Elgie <specialbrew at gmail.com>
  Date:   2016-06-10 (Fri, 10 Jun 2016)

  Changed paths:
    M ckan/lib/base.py
    M ckan/lib/helpers.py
    M ckan/templates/base.html

  Log Message:
  -----------
  [#3103] Use helper for version instead of context

Instead of adding the ckan version as a value on `c`, this commit adds a
new template helper that returns `ckan.__version__`.




More information about the ckan-changes mailing list