{i18n.t("profile.title")}

{#if configError !== null}

{configError}

{:else if loaded === null && loadError === null}

{i18n.t("profile.loading")}

{:else if loadError !== null}

{loadError}

{:else if loaded !== null}
{i18n.t("profile.field.user_name")}
{loaded.userName}
{i18n.t("profile.field.email")}
{loaded.email}
{#if saveError !== null}

{saveError}

{:else if savedNotice}

{i18n.t("profile.saved")}

{/if}
{/if}