From 70420380f7b5c4fc7b3285c6bb6536819d10dcf8 Mon Sep 17 00:00:00 2001 From: Lars Eggert Date: Mon, 29 Nov 2021 17:27:06 +0000 Subject: [PATCH] Remove ietf/templates/iesg/scribe_template.html and related, which is not used anymore according to the secretariat. Commit ready for merge. - Legacy-Id: 19713 --- ietf/iesg/urls.py | 3 +- ietf/iesg/views.py | 17 +---- ietf/templates/iesg/scribe_template.html | 91 ------------------------ ietf/utils/crawlurls.txt | 3 +- 4 files changed, 3 insertions(+), 111 deletions(-) delete mode 100644 ietf/templates/iesg/scribe_template.html diff --git a/ietf/iesg/urls.py b/ietf/iesg/urls.py index 749a0c70a..fa6f3dbf7 100644 --- a/ietf/iesg/urls.py +++ b/ietf/iesg/urls.py @@ -47,7 +47,6 @@ urlpatterns = [ url(r'^agenda/(?:%(date)s/)?$' % settings.URL_REGEXPS, views.agenda), url(r'^agenda/(?:%(date)s/)?agenda.txt$' % settings.URL_REGEXPS, views.agenda_txt), url(r'^agenda/(?:%(date)s/)?agenda.json$' % settings.URL_REGEXPS, views.agenda_json), - url(r'^agenda/(?:%(date)s/)?scribe_template.html$' % settings.URL_REGEXPS, views.agenda_scribe_template), url(r'^agenda/(?:%(date)s/)?moderator_package.html$' % settings.URL_REGEXPS, views.agenda_moderator_package), url(r'^agenda/(?:%(date)s/)?agenda_package.txt$' % settings.URL_REGEXPS, views.agenda_package), @@ -58,4 +57,4 @@ urlpatterns = [ url(r'^discusses/$', views.discusses), url(r'^milestones/$', views.milestones_needing_review), url(r'^photos/$', views.photos), -] +] \ No newline at end of file diff --git a/ietf/iesg/views.py b/ietf/iesg/views.py index b487aac30..5d1457cee 100644 --- a/ietf/iesg/views.py +++ b/ietf/iesg/views.py @@ -212,21 +212,6 @@ def agenda_txt(request, date=None): "domain": Site.objects.get_current().domain, }, content_type="text/plain; charset=%s"%settings.DEFAULT_CHARSET) -def agenda_scribe_template(request, date=None): - data = agenda_data(date) - sections = sorted((num, section) for num, section in data["sections"].items() if "2" <= num < "4") - appendix_docs = [] - for num, section in sections: - if "docs" in section: - # why are we here including documents that have no discuss/comment? - appendix_docs.extend(section["docs"]) - return render(request, "iesg/scribe_template.html", { - "date": data["date"], - "sections": sections, - "appendix_docs": appendix_docs, - "domain": Site.objects.get_current().domain, - } ) - @role_required('Area Director', 'Secretariat') def agenda_moderator_package(request, date=None): """Output telechat agenda with one page per section, with each @@ -542,4 +527,4 @@ def photos(request): role.last_initial = role.person.last_name()[0] return render(request, 'iesg/photos.html', {'group_type': 'IESG', 'role': '', 'roles': roles }) - + \ No newline at end of file diff --git a/ietf/templates/iesg/scribe_template.html b/ietf/templates/iesg/scribe_template.html deleted file mode 100644 index 424f3da84..000000000 --- a/ietf/templates/iesg/scribe_template.html +++ /dev/null @@ -1,91 +0,0 @@ -{% comment %} {% endcomment %}{% comment %} -Some parts Copyright (c) 2009 The IETF Trust, all rights reserved. - {% endcomment %} - - - - - IESG Agenda - Scribe Template - - - {% load ietf_filters %}{% filter compress_empty_lines %} -

Scribe template for IESG Narrative Minutes, {{ date }}

- - {% for num, section in sections %} -

{{ num }}{% if num|sectionlevel == 1 %}.{% endif %} {{ section.title|safe }}

- - {% if "docs" in section %} - - {% endif %} - {% endfor %} - -
-

Appendix: Snapshot of discusses/comments

- -

(at {% now "Y-m-d H:i:s T" %})

- - {% for doc in appendix_docs %} - -

{{ doc.name }}

- - {% with doc.active_ballot as ballot %} - {% if ballot %} - - {% endif %} - {% endwith %} - - {% endfor %} - - {% endfilter %} - - \ No newline at end of file diff --git a/ietf/utils/crawlurls.txt b/ietf/utils/crawlurls.txt index e2f7bdf2d..30a1d038b 100644 --- a/ietf/utils/crawlurls.txt +++ b/ietf/utils/crawlurls.txt @@ -9,11 +9,10 @@ /iesg/decisions/ /iesg/agenda/documents.txt /iesg/agenda/agenda.json -/iesg/agenda/scribe_template.html /wg/1wg-summary.txt /wg/1wg-summary-by-acronym.txt /wg/1wg-charters.txt /wg/1wg-charters-by-acronym.txt /sitemap.xml /sitemap-ipr.xml -/sitemap-liaison.xml +/sitemap-liaison.xml \ No newline at end of file