{%- from 'common/macros.html' import babycode_editor_component -%} {%- from 'common/macros.html' import subheader, avatar, timestamp -%} {%- extends 'base.html' -%} {%- block title -%}settings{%- endblock -%} {%- block content -%} {%- set sub -%} {%- if user.is_guest() -%}You are a guest. Your customization options are limited until a moderator confirms your account.{%- endif -%} {%- endset -%} {{- subheader('User settings', sub) -}} {%- if not user.is_guest() -%}
Avatar
{{- avatar(user.get_avatar_url()) -}} 1MB max. Will be cropped to square.
{%- endif -%}
Change password

After you change your password, you will be logged out of all sessions and will need to log in again.

{%- if not user.is_guest() -%}
Personalization
Signature

The signature will appear under each of your posts.

{{babycode_editor_component(id='signature-content', placeholder='Signature content', prefill=user.signature_original_markup, required=false, banned_tags=['@mention'])}}
{#
About me/Bio
Your bio will appear on your profile. {{babycode_editor_component(id='bio-content', placeholder='Bio content', prefill=user.signature_original_markup, required=false, banned_tags=['@mention'])}}
#}
Badges
Loading badges…
If badges fail to load, make sure JS is enabled.
{%- if user.can_invite() -%}
Invite keys

To manage growth, {{ config.SITE_NAME }} disallows direct sign ups. Instead, users already with an account may invite people they know. You can create invite links here.

Invite links are valid for 48 hours. Once an invite link is used to sign up, it can no longer be used.

{{ csrf_input() | safe }}
{%- if invites -%} {%- for invite in invites -%} {%- endfor -%}
Link Expires Revoke
Copy this {{timestamp(invite.expires_at)}}
{{ csrf_input() | safe }}
{%- else -%}

You do not have any invites pending activation.

{%- endif -%}
{%- endif -%} {%- endif -%}
Disown & Delete account Delete account
{%- endblock -%}