Skip to content

Commit c445611

Browse files
committed
Replaced old unworkable email addesss in the 404 page with the current bugreport address, now configured in settings.py.
- Legacy-Id: 13224
1 parent d8cf039 commit c445611

4 files changed

Lines changed: 5 additions & 2 deletions

File tree

ietf/context_processors.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ def revision_info(request):
2424
'version_num': __version__+__patch__,
2525
'django_version': django.get_version(),
2626
'python_version': python_version(),
27+
'bugreport_email': settings.BUG_REPORT_EMAIL,
2728
}
2829

2930
def debug_mark_queries_from_view(request):

ietf/settings.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@
4646
('Matt Larson', 'mlarson@amsl.com'),
4747
)
4848

49+
BUG_REPORT_EMAIL = "datatracker-project@ietf.org"
50+
4951
PASSWORD_HASHERS = [
5052
'django.contrib.auth.hashers.Argon2PasswordHasher',
5153
'django.contrib.auth.hashers.BCryptSHA256PasswordHasher',

ietf/templates/404.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ <h2>The page you were looking for couldn't be found.</h2>
1212
<p> The requested URL was not found on this server. If you entered the URL
1313
manually please check your spelling and try again.</p>
1414

15-
<p>If you think this is a server error, please contact <a href="mailto:webtools@ietf.org">webtools@ietf.org</a>.</p>
15+
<p>If you think this is a server error, please contact <a href="mailto:{{ bugreport_email }}">{{ bugreport_email }}</a>.</p>
1616
{% endblock %}
1717

ietf/templates/base.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@
145145
{% endif %}
146146
Report a bug:
147147
<a href="https://tools.ietf.org/tools/ietfdb/newticket">Tracker:<span class="fa fa-bug"></span></a>
148-
<a href="mailto:datatracker-project@ietf.org">Email:<span class="fa fa-envelope"></span></a>
148+
<a href="mailto:{{ bugreport_email }}">Email:<span class="fa fa-envelope"></span></a>
149149
<br>
150150
Python {{ python_version }} |
151151
Django {{ django_version }}

0 commit comments

Comments
 (0)