diff --git a/noggin/form/edit_user.py b/noggin/form/edit_user.py index 03a25e259..3d48567ff 100644 --- a/noggin/form/edit_user.py +++ b/noggin/form/edit_user.py @@ -126,6 +126,11 @@ class UserSettingsProfileForm(BaseForm): validators=[Optional(), URL(message=_('Valid URL required'))], ) + rss_url = URLField( + _('RSS URL'), + validators=[Optional(), URL(message=_('Valid URL required'))], + ) + is_private = BooleanField( _('Private'), description=_( diff --git a/noggin/representation/user.py b/noggin/representation/user.py index cbb000d6a..ffa4ead6b 100644 --- a/noggin/representation/user.py +++ b/noggin/representation/user.py @@ -27,6 +27,7 @@ class User(Representation): "pronouns": "faspronoun", "krbname": "krbcanonicalname", "roles": "memberof_role", + "rss_url": "fasrssurl", } attr_types = { "sshpubkeys": "list", diff --git a/noggin/templates/user-settings-profile.html b/noggin/templates/user-settings-profile.html index e0d30d360..dd50282b2 100644 --- a/noggin/templates/user-settings-profile.html +++ b/noggin/templates/user-settings-profile.html @@ -30,6 +30,7 @@
{{ form.ircnick.label(class_="mt-2") }}
diff --git a/noggin/templates/user.html b/noggin/templates/user.html index d74defaff..6c02ff88f 100644 --- a/noggin/templates/user.html +++ b/noggin/templates/user.html @@ -89,6 +89,12 @@