", xml_contents), allow_overwrite=True)
output = process_submission_xml("draft-somebody-test", "00")
self.assertEqual(output["document_date"], date_today())
@@ -3080,7 +3080,7 @@ def test_process_submission_xml(self):
)
xml_path.write_text(xml.read())
xml.seek(0)
- store_str("staging", "draft-somebody-test-00.xml", xml.read())
+ store_str("staging", "draft-somebody-test-00.xml", xml.read(), allow_overwrite=True)
with self.assertRaisesMessage(SubmissionError, "disagrees with submission filename"):
process_submission_xml("draft-somebody-test", "00")
@@ -3095,7 +3095,7 @@ def test_process_submission_xml(self):
)
xml_path.write_text(xml.read())
xml.seek(0)
- store_str("staging", "draft-somebody-test-00.xml", xml.read())
+ store_str("staging", "draft-somebody-test-00.xml", xml.read(), allow_overwrite=True)
with self.assertRaisesMessage(SubmissionError, "disagrees with submission revision"):
process_submission_xml("draft-somebody-test", "00")
@@ -3110,7 +3110,7 @@ def test_process_submission_xml(self):
)
xml_path.write_text(xml.read())
xml.seek(0)
- store_str("staging", "draft-somebody-test-00.xml", xml.read())
+ store_str("staging", "draft-somebody-test-00.xml", xml.read(), allow_overwrite=True)
with self.assertRaisesMessage(SubmissionError, "Could not extract a valid title"):
process_submission_xml("draft-somebody-test", "00")
@@ -3153,7 +3153,7 @@ def test_process_submission_text(self):
with txt_path.open('w') as fd:
fd.write(txt.read())
txt.seek(0)
- store_str("staging", "draft-somebody-test-00.txt", txt.read())
+ store_str("staging", "draft-somebody-test-00.txt", txt.read(), allow_overwrite=True)
txt.close()
with self.assertRaisesMessage(SubmissionError, 'disagrees with submission filename'):
process_submission_text("draft-somebody-test", "00")
@@ -3170,7 +3170,7 @@ def test_process_submission_text(self):
with txt_path.open('w') as fd:
fd.write(txt.read())
txt.seek(0)
- store_str("staging", "draft-somebody-test-00.txt", txt.read())
+ store_str("staging", "draft-somebody-test-00.txt", txt.read(), allow_overwrite=True)
txt.close()
with self.assertRaisesMessage(SubmissionError, 'disagrees with submission revision'):
process_submission_text("draft-somebody-test", "00")
diff --git a/ietf/templates/doc/document_statement.html b/ietf/templates/doc/document_statement.html
index 7b9759c3e9..cc3ea5a44c 100644
--- a/ietf/templates/doc/document_statement.html
+++ b/ietf/templates/doc/document_statement.html
@@ -1,5 +1,5 @@
{% extends "base.html" %}
-{# Copyright The IETF Trust 2023, All Rights Reserved #}
+{# Copyright The IETF Trust 2023-2025, All Rights Reserved #}
{% load origin %}
{% load static %}
{% load ietf_filters %}
@@ -49,7 +49,12 @@
|
State
|
- |
+ {% if can_manage %}
+
+ Edit
+
+ {% endif %} |
{% if doc.get_state %}
{{ doc.get_state.name }}
diff --git a/ietf/templates/doc/statement/change_statement_state.html b/ietf/templates/doc/statement/change_statement_state.html
new file mode 100644
index 0000000000..aa5cb934e8
--- /dev/null
+++ b/ietf/templates/doc/statement/change_statement_state.html
@@ -0,0 +1,22 @@
+{# Copyright The IETF Trust 2025, All Rights Reserved #}
+{% extends "base.html" %}
+{% load origin %}
+{% load django_bootstrap5 %}
+{% block title %}Change state for {{ statement }}{% endblock %}
+{% block content %}
+ {% origin %}
+
+ Change state
+
+ {{ statement }}
+
+
+{% endblock %}
\ No newline at end of file
diff --git a/ietf/templates/meeting/edit_meeting_schedule.html b/ietf/templates/meeting/edit_meeting_schedule.html
index 462f97715d..a975c2e61a 100644
--- a/ietf/templates/meeting/edit_meeting_schedule.html
+++ b/ietf/templates/meeting/edit_meeting_schedule.html
@@ -223,6 +223,11 @@
{{ p.acronym }}
{% endfor %}
+
+
{% if session_purposes|length > 1 %}
|