From 0de01942a3f6aee707a39e472f7cc920a282025d Mon Sep 17 00:00:00 2001 From: "Jason B. Cox" Date: Sun, 3 Jan 2021 15:27:28 -0800 Subject: [PATCH] Fix button state in usage tracking wizard * Fix button state so that the tracking can be enabled/disabled after selecting one of the options for the first time. * Improve formatting in tracking wizard template to improve code readability. * Add myself to AUTHORS file. --- AUTHORS.md | 1 + .../plugins/tracking/templates/tracking_wizard.jinja2 | 10 ++++++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/AUTHORS.md b/AUTHORS.md index a50ec706b..187d754cc 100644 --- a/AUTHORS.md +++ b/AUTHORS.md @@ -130,6 +130,7 @@ date of first contribution): * [Sophist](https://github.com/Sophist-UK) * [Manuel McLure](https://github.com/ManuelMcLure) * ["j7126"](https://github.com/j7126) + * ["jasonbcox"](https://github.com/jasonbcox) OctoPrint started off as a fork of [Cura](https://github.com/daid/Cura) by [Daid Braam](https://github.com/daid). Parts of its communication layer and diff --git a/src/octoprint/plugins/tracking/templates/tracking_wizard.jinja2 b/src/octoprint/plugins/tracking/templates/tracking_wizard.jinja2 index e5874b6c3..a8c0b3838 100644 --- a/src/octoprint/plugins/tracking/templates/tracking_wizard.jinja2 +++ b/src/octoprint/plugins/tracking/templates/tracking_wizard.jinja2 @@ -9,8 +9,14 @@

- {{ _('Disable Anonymous Usage Tracking') }} - {{ _('Enable Anonymous Usage Tracking') }} + + + {{ _('Disable Anonymous Usage Tracking') }} + + + + {{ _('Enable Anonymous Usage Tracking') }} +