From 393498506429acb7abf3dd94fda1fc8d4f81341e Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Tue, 6 Mar 2018 19:54:14 +0100 Subject: [PATCH] Only show introduction on beta --- pages/settings/settings.pixy | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pages/settings/settings.pixy b/pages/settings/settings.pixy index 80605046..e526d706 100644 --- a/pages/settings/settings.pixy +++ b/pages/settings/settings.pixy @@ -21,7 +21,9 @@ component SettingsPersonal(user *arn.User) InputText("Nick", user.Nick, "Username", "Your username on notify.moe") InputText("Tagline", user.Tagline, "Tagline", "Text that appears below your username") InputText("Website", user.Website, "Website", "Your homepage") - InputTextArea("Introduction", user.Introduction, "Introduction", "Tell us about yourself (Markdown is allowed)") + + if arn.IsDevelopment() + InputTextArea("Introduction", user.Introduction, "Introduction", "Tell us about yourself (Markdown is allowed)") .widget.mountable(data-api="/api/settings/" + user.ID) h3.widget-title