mybuddy/babybuddy/templates/babybuddy
Benjamin Häublein 1dca1cc050
Add option for hiding empty dashboard cards (#213)
* add option for hiding empty dashboard cards

* rework add option for hiding empty dashboard cards

missed statistics.html

* don't exit early in cards

* add forms test for dashboard_hide_empty

* add tests for cards

* fix early exit in card_diaperchange_latest

* change dependency of migration

* rename migration

* introduce hiding of cards in templates

* linting

* add context to test_card_diaperchange_last

* setup MockUserRequest

* add context to all cards test cases

* add test for settings_dashboard_hide_empty_on

* change dashboard_hide_test, but it doesn't work

* add test for _user_wants_hide

* fix test_user_wants_hide user object, simpliy check for data['empty']

* add test for user_wants_hide to every card

* linting

* fix trailing whitespace

* rename user_wants_hide to hide_empty

* fix hidden statistics

* add user.refresh_from_db to test case, add test case for dashboard_refresh_rate

* Follow redirect and correct assertion

Co-authored-by: jcgoette <jcgoette@gmail.com>
Co-authored-by: Benjamin Häublein <benjaminh@debian.vm.hp>
Co-authored-by: Christopher C. Wells <git@chris-wells.net>
2021-05-13 20:28:39 -07:00
..
base.html Add user timezone setting support to datetime form fields 2020-02-14 12:07:43 -08:00
filter.html Add translateable strings support in babybuddy app. 2019-04-13 21:55:16 -07:00
form.html Add translateable strings support in babybuddy app. 2019-04-13 21:55:16 -07:00
form_field.html Boolean field labels are no longer clickable so they can't be accidentally toggle the field value 2021-01-19 08:37:07 -08:00
messages.html Add "trimmed" key to `blocktrans` tags and update formatting 2020-01-23 20:00:32 -08:00
nav-dropdown.html Use user first and last name, when available, in UI 2020-02-18 14:41:33 -08:00
page.html Consolidate messages and errors in to main page template. 2017-12-06 13:02:41 -05:00
paginator.html Add translateable strings support in babybuddy app. 2019-04-13 21:55:16 -07:00
user_confirm_delete.html Add "trimmed" key to `blocktrans` tags and update formatting 2020-01-23 20:00:32 -08:00
user_form.html Add "trimmed" key to `blocktrans` tags and update formatting 2020-01-23 20:00:32 -08:00
user_list.html Add translateable strings support in babybuddy app. 2019-04-13 21:55:16 -07:00
user_password_form.html Add translateable strings support in babybuddy app. 2019-04-13 21:55:16 -07:00
user_settings_form.html Add option for hiding empty dashboard cards (#213) 2021-05-13 20:28:39 -07:00
welcome.html Add "trimmed" key to `blocktrans` tags and update formatting 2020-01-23 20:00:32 -08:00