-
-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[change] Metric collection: added consent in web UI #372 #378
Conversation
a6f8f23
to
fee1f50
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See my changes to the README here: 95c8e9a, please mention the possibility of removing consent from the UI there too.
<h2>Metric collection</h2> | ||
<form method="POST" id="id_metric_collection_consent_form"> | ||
{% csrf_token %} | ||
{{ metric_consent_form }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just used some CSS to achieve the same result. Re-writing this would require copying some code from Django which we will need to maintain over time.
cd6c684
to
7cb4720
Compare
7cb4720
to
5799c8c
Compare
…utils.metrics_collection"
- renamed metrics_collection to metric_collection - reduced verbosity - isolated code meant to be used in admin_theme.admin - avoided used of term "disclaimer" - moved most of the code in class methods of models.OpenwispVersion
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks pretty good to me now after these last iterations.
I am merging, if you spot anything else that needs improvement please send a new PR.
Closes #372
Changes
Screenshots
Checklist