make referrals og_username by default since we change name a lot

master
Aevann 2023-09-27 00:48:57 +03:00
parent 3d110dd568
commit 455fb1260f
1 changed files with 1 additions and 1 deletions

View File

@ -300,7 +300,7 @@
</div>
<div class="body w-lg-100">
<div class="input-group">
<input autocomplete="off" type="text" readonly class="form-control copy-link" id="referral_code" value="{{SITE_FULL}}/signup?ref={{v.username}}" data-clipboard-text="{{SITE_FULL}}/signup?ref={{v.username}}">
<input autocomplete="off" type="text" readonly class="form-control copy-link" id="referral_code" value="{{SITE_FULL}}/signup?ref={{v.original_username}}" data-clipboard-text="{{SITE_FULL}}/signup?ref={{v.original_username}}">
<span class="input-group-append" data-bs-toggle="tooltip" data-bs-placement="top" title="You have referred {{v.referral_count}} user{{'s' if v.referral_count != 1 else ''}} so far. {% if v.referral_count==0 %}¯\_(ツ)_/¯{% elif v.referral_count>10 %}Wow!{% endif %}">
<span class="input-group-text text-primary border-0"><i class="fas fa-user mr-1"></i>{{v.referral_count}}</span>
</span>