Commit graph

54 commits

Author SHA1 Message Date
Lance Edgar 9e7d0e177d Don't include query string in embedded grid URL.
This was causing the param list to grow each time a search happened at
least, maybe more.
2015-02-24 23:53:22 -06:00
Lance Edgar dfb5e83c7e Add support for Product.not_for_sale flag.
This involved a couple of ancillary changes:

* The price field renderer will not display a price for products marked not
  for sale.

* The "grid" class now allows specifying a custom callable to provide
  additional CSS class for table rows.

* The products grid uses this to add a "not-for-sale" class to table rows
  for products which are marked thusly.
2014-09-10 19:38:49 -07:00
Lance Edgar 1a557f3947 Refactored model imports, etc.
This is in preparation for using database models only from `rattail` (i.e. no
`edbob`).  Mostly the model and enum imports were affected.
2013-12-17 06:00:04 -08:00
Lance Edgar 40efd8a3bc Rebranded to Tailbone. 2013-09-01 08:18:37 -07:00
Renamed from rattail/pyramid/grids/core.py (Browse further)