diff --git a/docs/admin_docs/source/phone_alerts.rst b/docs/admin_docs/source/phone_alerts.rst index 276c8b2a95bbb4021026cdef298c7410f96f86f8..f3d69d8793cdb4fabaace69b1719907e5c1c092a 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 f8887d32a98bf04687ab1e29c8d800942570ed89..3288f0f17ff76ca6ea764de66e68abdc0db92a5c 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 5c32967f0203787a89f78122a761f99e1c0f0ba4..37c67fd22297230ca95d24fdd95c2bbb32f83f1e 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 0e8154ee354a2179a67c258937a2370949af0a30..ee5e5b9133c403fef2af916c0b8a1017d8663535 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>