agree to policies on registration page

This commit is contained in:
Kyle Spearrin 2018-07-23 16:37:10 -04:00
parent 97dfb6fdec
commit 6b9c9f9f78
3 changed files with 17 additions and 2 deletions

2
jslib

@ -1 +1 @@
Subproject commit 3a34d3b174a1cad8eac9fe950c814336902b4cab
Subproject commit 0b2fab43d53804cafe0ba48526853393fce1ec6f

View File

@ -45,7 +45,7 @@
<small class="form-text text-muted">{{'masterPassHintDesc' | i18n}}</small>
</div>
<hr>
<div class="d-flex">
<div class="d-flex mb-2">
<button type="submit" class="btn btn-primary btn-block btn-submit" [disabled]="form.loading">
<span>{{'submit' | i18n}}</span>
<i class="fa fa-spinner fa-spin" title="{{'loading' | i18n}}"></i>
@ -54,6 +54,11 @@
{{'cancel' | i18n}}
</a>
</div>
<small class="text-muted">
{{'submitAgreePolicies' | i18n}}
<a href="https://bitwarden.com/terms/" target="_blank" rel="noopener">{{'termsOfService' | i18n}}</a>,
<a href="https://bitwarden.com/privacy/" target="_blank" rel="noopener">{{'privacyPolicy' | i18n}}</a>
</small>
</div>
</div>
</div>

View File

@ -2337,5 +2337,15 @@
},
"nothingSelected": {
"message": "You have not selected anything."
},
"submitAgreePolicies": {
"message": "By clicking the \"Submit\" button, you agree to the following policies:",
"description": "A policy is something like Terms of Service, Privacy Policy, etc."
},
"termsOfService": {
"message": "Terms of Service"
},
"privacyPolicy": {
"message": "Privacy Policy"
}
}