From 08e0c833249a5e319aa5846c1e7eca2523a90c6d Mon Sep 17 00:00:00 2001 From: Paul Selkirk Date: Wed, 28 Feb 2024 10:58:21 -0500 Subject: [PATCH] refactor: Remove Google from document history search (#7093) * refactor: Remove Google from document history search "Search lists" dropdown menu devolves into a single button (two buttons for ADs). * refactor: Remove unused ARO search --------- Co-authored-by: Robert Sparks --- ietf/doc/views_doc.py | 11 +----- ietf/templates/doc/document_draft.html | 49 +++++--------------------- 2 files changed, 10 insertions(+), 50 deletions(-) diff --git a/ietf/doc/views_doc.py b/ietf/doc/views_doc.py index d8f687ee80..1a260ca97d 100644 --- a/ietf/doc/views_doc.py +++ b/ietf/doc/views_doc.py @@ -1,4 +1,4 @@ -# Copyright The IETF Trust 2009-2023, All Rights Reserved +# Copyright The IETF Trust 2009-2024, All Rights Reserved # -*- coding: utf-8 -*- # # Parts Copyright (C) 2009-2010 Nokia Corporation and/or its subsidiary(-ies). @@ -40,7 +40,6 @@ import os import re -from urllib.parse import quote from pathlib import Path from django.http import HttpResponse, Http404 @@ -480,13 +479,6 @@ def document_main(request, name, rev=None, document_html=False): can_submit_unsolicited_review_for_teams = Group.objects.filter( reviewteamsettings__isnull=False, role__person__user=request.user, role__name='secr') - # mailing list search archive - search_archive = "www.ietf.org/mail-archive/web/" - if doc.stream_id == "ietf" and group.type_id == "wg" and group.list_archive: - search_archive = group.list_archive - - search_archive = quote(search_archive, safe="~") - # conflict reviews conflict_reviews = [r.source.name for r in interesting_relations_that.filter(relationship="conflrev")] @@ -705,7 +697,6 @@ def document_main(request, name, rev=None, document_html=False): iana_experts_comment=iana_experts_comment, started_iesg_process=started_iesg_process, shepherd_writeup=shepherd_writeup, - search_archive=search_archive, actions=actions, presentations=presentations, review_assignments=review_assignments, diff --git a/ietf/templates/doc/document_draft.html b/ietf/templates/doc/document_draft.html index ccfb23f06a..3831d10165 100644 --- a/ietf/templates/doc/document_draft.html +++ b/ietf/templates/doc/document_draft.html @@ -1,5 +1,5 @@ {% extends "base.html" %} -{# Copyright The IETF Trust 2016-2023, All Rights Reserved #} +{# Copyright The IETF Trust 2016-2024, All Rights Reserved #} {% load origin %} {% load static %} {% load ietf_filters %} @@ -658,45 +658,14 @@ Nits - + + + + Search email archive + {% if user.is_authenticated %}