[ckan-changes] [okfn/ckan] caa016: [#873] Show upload option if filestore enabled

GitHub noreply at github.com
Mon Jun 3 06:31:44 UTC 2013


  Branch: refs/heads/873-upload-button-check
  Home:   https://github.com/okfn/ckan
  Commit: caa016eabe470223d19d1db0dce6480b26856bdb
      https://github.com/okfn/ckan/commit/caa016eabe470223d19d1db0dce6480b26856bdb
  Author: Nigel Babu <nigelbabu at gmail.com>
  Date:   2013-06-02 (Sun, 02 Jun 2013)

  Changed paths:
    M ckan/lib/helpers.py
    M ckan/templates/package/new_resource.html
    M ckan/templates/package/resource_edit.html
    M ckan/tests/lib/test_helpers.py

  Log Message:
  -----------
  [#873] Show upload option if filestore enabled

* Add a check_filestore helper that checks the config if filestore is
  enabled.
* Check if filestore is enabled and user is logged in before showing
  upload button.





More information about the ckan-changes mailing list