mybuddy/dashboard
Benjamin Häublein e8696a8b00
Dashboard: Hide old data (#215)
* filter card data by age

* add setting for hide_age

* add option to settings form

* fix name to consistently use hide_age

* rename filter, use setting for filter

* add test for old hiding old data

* fix migration to contain correct imports, remove month from timedelta

* remove months from timedelta, allow blank

* fix with block

* add settings test

* add test for filter

* mock localtime

* fix timezone issues with tests

* linting

* linting

* Adjust migration

Co-authored-by: Benjamin Häublein <benjaminh@debian.vm.hp>
Co-authored-by: Christopher C. Wells <git@chris-wells.net>
2021-06-19 14:09:05 -07:00
..
migrations Refactor dashboard as a separate app. 2017-08-18 09:02:31 -04:00
static_src Offset horizontal padding in cards with a carousel 2020-02-16 13:38:20 -08:00
templates Add option for hiding empty dashboard cards (#213) 2021-05-13 20:28:39 -07:00
templatetags Dashboard: Hide old data (#215) 2021-06-19 14:09:05 -07:00
tests Dashboard: Hide old data (#215) 2021-06-19 14:09:05 -07:00
__init__.py Refactor dashboard as a separate app. 2017-08-18 09:02:31 -04:00
urls.py child slugs: allow unicode 2021-04-30 14:47:08 -07:00
views.py Add dashboard sort clauses: first name and id 2019-07-08 16:06:46 -04:00