{% trans "Hello" as headingtext %}
{% if user.profile.alias %}
{% with user.profile.alias as alias %}
{# include template "patterns/basics/headings/sp_variations/heading.html" #}
{% with type="component" htmltag="h1" title=headingtext|add:" "|add:alias %}
<{{htmltag}}>{{title}}{{htmltag}}>
{% endwith %}
{# end include template #}
{% endwith %}
{% else %}
{% with user|stringformat:"s" as username %}
{# include template "patterns/basics/headings/sp_variations/heading.html" #}
{% with type="component" htmltag="h1" title=headingtext|add:" "|add:user.profile.migrated_username|default:username %}
<{{htmltag}}>{{title}}{{htmltag}}>
{% endwith %}
{# end include template #}
{% endwith %}
{% endif %}
{# include template "patterns/basics/headings/sp_variations/heading.html" #}
{% trans "Your Profile" as headingtext %}
{% with type="basic" htmltag="h2" title=headingtext %}
<{{htmltag}}>{{title}}{{htmltag}}>
{% endwith %}
{# end include template #}
{% trans "Not set." as defaultText %}
{% with profile_settings=settings.profiles.UserProfilesSettings %}
{% if profile_settings.activate_display_name %}
{% endif %}
{% if profile_settings.activate_dob %}
{% endif %}
{% if profile_settings.activate_gender%}
{% endif %}
{% if profile_settings.activate_education_level %}
{% endif %}
{% endwith %}
{# include template "patterns/basics/buttons/sp_variations/button.html" #}
{% trans "Update Profile" as buttontext %}
{% with type="primary" text=buttontext %}
{{text}}
{% endwith %}
{# end include template #}
{% trans "Homepage" %}