Add links to the Terms of Service and Privacy Policy, coming from the web service.
This commit is contained in:
Родитель
360293f9f2
Коммит
c200b2e63e
|
@ -169,7 +169,9 @@
|
|||
<span class="error"/></td></tr>
|
||||
<tr><td colspan="2">
|
||||
<font size="-1" id="global">By clicking on 'I accept' below you are
|
||||
agreeing to the Terms of Service above and the Privacy Policy.</font>
|
||||
agreeing to the <a href="" class="tos external">Terms of Service</a>
|
||||
above and the <a href="" class="privacy external">Privacy
|
||||
Policy</a>.</font>
|
||||
<span class="error"></span>
|
||||
</td></tr>
|
||||
<tr><td colspan="2" align="center">
|
||||
|
|
|
@ -166,6 +166,9 @@ $(function() {
|
|||
dump("Populating "+field.id+", "+field.type+"\n");
|
||||
$("#"+field.type+"_tmpl").render(field).prependTo($("#provision_form"));
|
||||
};
|
||||
// Update the terms of service and privacy policy links.
|
||||
$("a.tos").attr("href", provider.tos_url);
|
||||
$("a.privacy").attr("href", provider.privacy_url);
|
||||
};
|
||||
});
|
||||
let firstname = storage.getItem("firstname") || $("#FirstName").text();
|
||||
|
|
Загрузка…
Ссылка в новой задаче