Skip to content
This repository has been archived by the owner on Feb 4, 2022. It is now read-only.

De-couple helpers from template #78

Merged
merged 7 commits into from
May 4, 2016
Merged

De-couple helpers from template #78

merged 7 commits into from
May 4, 2016

Commits on May 3, 2016

  1. Configuration menu
    Copy the full SHA
    efda0e3 View commit details
    Browse the repository at this point in the history
  2. Issue #77: De-couple paginator helper from router

    - Add 'url' config option to pass a HttpUrl object to the helper used to calculate the url for each page
    - Set the url for each page using the url object and offset and limit
    - Rename link() to page()
    
    BREAKING! The paginator link() method has been renamed to page() and the paginator now has a 'url' config option that needs to be used to create the url for each page. To migrate your code all template calls to the paginator should include array('url' => route());
    johanjanssens committed May 3, 2016
    Configuration menu
    Copy the full SHA
    1184bf0 View commit details
    Browse the repository at this point in the history
  3. Issue #77: De-couple grid helper from router and template

    - Add 'url' config option to sort() helper method to pass an HttpUrl object to the helper used to calculate the sort url
    - Set the url for sorting based on the config options
    
    BREAKING! The grid.sort helper now has a 'url' config option that needs to be used to create the url for sorting. To migrate your code all template calls to the grid.sort should include array('url' => route());
    johanjanssens committed May 3, 2016
    Configuration menu
    Copy the full SHA
    943f8a3 View commit details
    Browse the repository at this point in the history
  4. Issue #77: De-couple behavior helper from router and template

    - Refactor the keepalive helper method to use jQuery and default to window.location.url
    - Add a 'url' config option to set a custom url to call
    - Use head requests and do not use cache
    johanjanssens committed May 3, 2016
    Configuration menu
    Copy the full SHA
    9b8048f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b5aabf2 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    1973903 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    6a21c50 View commit details
    Browse the repository at this point in the history