Skip to content
Snippets Groups Projects
  1. Aug 11, 2015
  2. Aug 10, 2015
  3. Aug 07, 2015
  4. Aug 06, 2015
  5. Aug 05, 2015
  6. Jul 28, 2015
  7. Jul 27, 2015
    • Alice Heaton's avatar
    • Alice Heaton's avatar
      Add tests ViewItems.get_request_parameters · fee4514f
      Alice Heaton authored
      fee4514f
    • Alice Heaton's avatar
      Re-introduce the per-row drop down to update each record's category as well as... · ead34b95
      Alice Heaton authored
      Re-introduce the per-row drop down to update each record's category as well as the mirrored buttons at the bottom of the page. This means that we have a single form that can either do a batch update, or an update of values set per row. The different action is determined by the submit button that was used - which is always named 'action'. Because we have a mirrored select drop down for the batch action, we need to know which one to take into account - so the value of the submit button indiciates which one was clicked, of the form <action>-<placement> (eg. save-top) and the name of mirrored inputs indidicate where they are located, of the form <name>-<placement> (eg. batchaction-bottom). The ViewItems class has a static method to find the active placement and rename the parameters accordingly. Some of the old code was re-introduced, though some of it was refactored (eg. what used to be get_categories, to fetch each row's selected category, has been moved to ItemTable to parallel get_selected, and is now named get_row_select_value (it's a more generic version, looking at the future when we'll update the region with the same mechanism.)
      ead34b95
  8. Jul 23, 2015
  9. Jul 21, 2015
  10. Jul 17, 2015
  11. Jul 10, 2015
  12. Jul 08, 2015
  13. Jul 07, 2015
    • Mark Skipper's avatar
      Remove the old helper methods from transport · cc7f1ef8
      Mark Skipper authored
      Replace with ItemTransport object, which needs to be instantiated. I
      think it can be reused between calls to its methods so there's no need
      to create new ones all over the place, but that's what I have done so
      far. I'm a bit uncertain about module level variables, and not
      everything is contained in a class.
      cc7f1ef8
  14. Jul 03, 2015
  15. Jul 02, 2015
  16. Jun 30, 2015
Loading