Skip to content

Commit d7a942c

Browse files
committed
- Legacy-Id: 2618
1 parent d2f56a7 commit d7a942c

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

lars/ietf/idrfc/views_ballot.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -366,6 +366,7 @@ def lastcalltext(request, name):
366366
last_call_form = LastCallTextForm(request.POST, instance=ballot)
367367
if last_call_form.is_valid():
368368
ballot.last_call_text = last_call_form.cleaned_data["last_call_text"]
369+
add_document_comment(request, doc, "Last Call text changed")
369370
ballot.save()
370371

371372
if "send_last_call_request" in request.POST:
@@ -430,6 +431,7 @@ def ballot_writeupnotes(request, name):
430431
ballot_writeup_form = BallotWriteupForm(request.POST, instance=ballot)
431432
if ballot_writeup_form.is_valid():
432433
ballot.ballot_writeup = ballot_writeup_form.cleaned_data["ballot_writeup"]
434+
add_document_comment(request, doc, "Ballot writeup text changed")
433435
ballot.save()
434436

435437
if "issue_ballot" in request.POST:
@@ -504,10 +506,12 @@ def ballot_approvaltext(request, name):
504506
approval_text_form = ApprovalTextForm(request.POST, instance=ballot)
505507
if approval_text_form.is_valid():
506508
ballot.approval_text = approval_text_form.cleaned_data["approval_text"]
509+
add_document_comment(request, doc, "Approval announcement text changed")
507510
ballot.save()
508511

509512
if "regenerate_approval_text" in request.POST:
510513
ballot.approval_text = generate_approval_mail(request, doc)
514+
add_document_comment(request, doc, "Approval announcement text regenerated")
511515
ballot.save()
512516

513517
# make sure form has the updated text

0 commit comments

Comments
 (0)