From c0dbe5ab41ce9f2797a2b19cab9f4e8223e17958 Mon Sep 17 00:00:00 2001 From: Tanner Prestegard <tanner.prestegard@ligo.org> Date: Tue, 12 Feb 2019 14:01:58 -0600 Subject: [PATCH] Removing some mentions of old userprofile app --- docs/admin_docs/source/phone_alerts.rst | 2 +- gracedb/templates/alerts/create_contact.html | 2 +- gracedb/templates/alerts/create_notification.html | 2 +- gracedb/templates/profile/manage_password.html | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/admin_docs/source/phone_alerts.rst b/docs/admin_docs/source/phone_alerts.rst index 276c8b2a9..f3d69d879 100644 --- a/docs/admin_docs/source/phone_alerts.rst +++ b/docs/admin_docs/source/phone_alerts.rst @@ -81,7 +81,7 @@ Most of the relevant code is in ``gracedb/events/alerts.py``, including the foll - ``issueAlertForLabel`` - ``issueEmailAlert`` -There is also some relevant code in ``gracedb/userprofile/models.py``, which defines a ``PhoneNumberField`` for the ``Contact`` model and validates the phone number when a user signs up for this service. +There is also some relevant code in ``gracedb/alerts/fields.py``, which defines a ``PhoneNumberField`` for the ``Contact`` model and validates the phone number when a user signs up for this service. The TwiML bin SIDs are used in ``make_twilio_calls`` to generate the URLs and make the POST request. These SIDs, along with the Account SID and Auth Token should **NOT** be saved in the git repository. diff --git a/gracedb/templates/alerts/create_contact.html b/gracedb/templates/alerts/create_contact.html index f8887d32a..3288f0f17 100644 --- a/gracedb/templates/alerts/create_contact.html +++ b/gracedb/templates/alerts/create_contact.html @@ -19,7 +19,7 @@ $(document).ready(function() { {% block title %}Options | Create Contact{% endblock %} {% block heading %}Create Contact{% endblock %} -{% block pageid %}userprofile{% endblock %} +{% block pageid %}alerts{% endblock %} diff --git a/gracedb/templates/alerts/create_notification.html b/gracedb/templates/alerts/create_notification.html index 5c32967f0..37c67fd22 100644 --- a/gracedb/templates/alerts/create_notification.html +++ b/gracedb/templates/alerts/create_notification.html @@ -19,7 +19,7 @@ $(document).ready(function() { {% block title %}Options | Create Notification{% endblock %} {% block heading %}Create Notification{% endblock %} -{% block pageid %}userprofile{% endblock %} +{% block pageid %}alerts{% endblock %} {% block content %} diff --git a/gracedb/templates/profile/manage_password.html b/gracedb/templates/profile/manage_password.html index 0e8154ee3..ee5e5b913 100644 --- a/gracedb/templates/profile/manage_password.html +++ b/gracedb/templates/profile/manage_password.html @@ -26,7 +26,7 @@ <p>Press the button here to get a new password (or change your existing one):</p> -<form action={% url "userprofile-manage-password" %} method="post"> +<form action={% url "alerts:manage-password" %} method="post"> <input type="submit" value="Get me a password!"> </form> -- GitLab