diff --git a/app/dashboard/migrations/0069_profile_hide_wallet_address.py b/app/dashboard/migrations/0069_profile_hide_wallet_address.py new file mode 100644 index 00000000000..bd288ef276e --- /dev/null +++ b/app/dashboard/migrations/0069_profile_hide_wallet_address.py @@ -0,0 +1,18 @@ +# Generated by Django 2.2.4 on 2019-12-30 15:49 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('dashboard', '0068_auto_20191211_1458'), + ] + + operations = [ + migrations.AddField( + model_name='profile', + name='hide_wallet_address', + field=models.BooleanField(default=True, help_text='If this option is chosen, we will remove your wallet information all together'), + ), + ] diff --git a/app/dashboard/models.py b/app/dashboard/models.py index 3370559e49b..7daee18a852 100644 --- a/app/dashboard/models.py +++ b/app/dashboard/models.py @@ -2330,6 +2330,10 @@ class Profile(SuperModel): default=True, help_text='If this option is chosen, we will remove your profile information all_together', ) + hide_wallet_address = models.BooleanField( + default=True, + help_text='If this option is chosen, we will remove your wallet information all together', + ) trust_profile = models.BooleanField( default=False, help_text='If this option is chosen, the user is able to submit a faucet/ens domain registration even if they are new to github', diff --git a/app/dashboard/templates/profiles/header_details.html b/app/dashboard/templates/profiles/header_details.html index 254f964e848..06343418b1f 100644 --- a/app/dashboard/templates/profiles/header_details.html +++ b/app/dashboard/templates/profiles/header_details.html @@ -19,7 +19,8 @@
{{ profile.handle }} +
+ {{ profile.handle }} {% if profile.custom_tagline %} - {{ profile.custom_tagline }} {% endif %} @@ -64,10 +65,25 @@