diff --git a/r2/r2/lib/pages/admin_pages.py b/r2/r2/lib/pages/admin_pages.py index af7b384cb..92db25fcd 100644 --- a/r2/r2/lib/pages/admin_pages.py +++ b/r2/r2/lib/pages/admin_pages.py @@ -85,8 +85,14 @@ class AdminLinkMenu(NavMenu): class AdminNotesSidebar(Templated): EMPTY_MESSAGE = { "domain": N_("No notes for this domain"), + "ip": N_("No notes for this IP address"), } - + + SYSTEMS = { + "domain": N_("domain"), + "ip": N_("IP address"), + } + def __init__(self, system, subject): from r2.models.admin_notes import AdminNotesBySystem diff --git a/r2/r2/templates/adminnotessidebar.html b/r2/r2/templates/adminnotessidebar.html index 70d8c47d7..97133fcc9 100644 --- a/r2/r2/templates/adminnotessidebar.html +++ b/r2/r2/templates/adminnotessidebar.html @@ -24,6 +24,7 @@ <%namespace file="utils.html" import="md" />