Commit Graph

8 Commits

Author SHA1 Message Date
Bob Van Landuyt 3d713ac114 Users can accept terms during registration
When a user checks the `accept` checkbox, we will track that
acceptance as usual. That way they don't need to accept again after
they complete the registration.

When an unauthenticated user visits the `/-/users/terms` page, there
is no button to accept, decline or continue. The 'current-user menu'
is also hidden from the top bar.
2018-06-08 19:17:00 +02:00
Annabel Gray f153faa86e Merge branch 'jivl-update-form-horizontal-usage' into 'master'
Remove form-horizontal class where applicable

Closes #46744

See merge request gitlab-org/gitlab-ce!19262
2018-05-31 19:28:58 +00:00
Clement Ho 1a6d848db7 Fix checkbox/radio button structure 2018-05-31 19:20:46 +00:00
Jose cf3f7601b0 Remove form-horizontal class where applicable 2018-05-31 13:35:50 -05:00
Clement Ho 425fdd7972 Replace help-block with form-text.text-muted 2018-05-29 09:58:31 -05:00
Clement Ho 53965b8fc1 Replace remaining .radio and .checkbox with .form-check 2018-05-24 08:39:44 -05:00
Bob Van Landuyt 3d6d0a09b6 Store application wide terms
This allows admins to define terms in the application settings.

Every time the terms are adjusted, a new version is stored and becomes
the 'active' version. This allows tracking which specific version was
accepted by a user.
2018-05-04 13:52:55 +02:00
Bob Van Landuyt cf37bef287 Add `Term` model to keep track of terms
That way we can link a users acceptance of terms directly to a terms record.
2018-05-04 13:52:55 +02:00