Skip to content

Commit

Permalink
Merge pull request #69 from worbli/tkaraivanov-patch-1
Browse files Browse the repository at this point in the history
text fixes + FAQ opens in new tab
  • Loading branch information
bkawk authored Nov 30, 2018
2 parents e55cec7 + dc55f4f commit cde582a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/routes/dashboard/account-route.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,8 @@ class AccountRoute extends PolymerElement {
<div class="form-inputs">
<label>Worbli Account Name </label>
<input id="worbliAccountName" value="{{worbliAccountName::input}}" name="worbliAccountName" type="text" class="lower">
<small class="comment">Choose your desired Worbli account name</br>
<i>(6-12 characters, must start with a letter and can only contain letters and numbers 1-5).</br> </br> </i>
<small class="comment">Choose your desired Worbli account name.</br>
<i>(6-12 characters, must start with a letter and can only contain letters and numbers 1-5)</br> </br> </i>
<b>Note:</b> high profile trademarked names such as "google", "facebook", etc. are not allowed and accounts that have chosen such names will be frozen.</small></br>
<small class="comment error">[[worbliAccountNameError]]</small>
</div>
Expand All @@ -189,7 +189,7 @@ class AccountRoute extends PolymerElement {
<img src="./images/question.png" style="margin-top: 3px;">
</div>
<div>
<a href="https://worbli.zendesk.com/hc/en-us/articles/360019917571-How-can-I-generate-my-Owner-or-Active-key-using-Scatter-">
<a href="https://worbli.zendesk.com/hc/en-us/articles/360019917571-How-can-I-generate-my-Owner-or-Active-key-using-Scatter-" target="_blank">
<p class="blue-info">
Not sure what public keys are? </br>
<u>Check out our FAQ on how to generate a public key with Scatter.</u>
Expand Down Expand Up @@ -315,7 +315,7 @@ _applyAccount(data){
const ownerConfirmed = this._validatePublicKey(public_key_owner);
if(!activeConfirmed){this.publicKeyActiveError = "Wrong public key format. Make sure you are not pasting your private key."; check = false}
if(!ownerConfirmed){this.publicKeyOwnerError = "Wrong public key format. Make sure you are not pasting your private key."; check = false}
if(!nameConfirmed){this.worbliAccountNameError = "Account name must be between 6 and 12 characters, must start with a letter and can contain only lowercase letters and numbers 1-5. And must not contain the word worbli"; check = false;}
if(!nameConfirmed){this.worbliAccountNameError = "Account name must be between 6 and 12 characters, must start with a letter, can contain only lowercase letters and numbers 1-5, and cannot contain the word worbli"; check = false;}
if(check === true){
const data = {worbli_account_name, public_key_active, public_key_owner}
const token = localStorage.getItem("token");
Expand Down

0 comments on commit cde582a

Please sign in to comment.