|
49 | 49 | from ietf.doc.utils import ( add_links_in_new_revision_events, augment_events_with_revision, |
50 | 50 | can_adopt_draft, get_chartering_type, get_document_content, get_tags_for_stream_id, |
51 | 51 | needed_ballot_positions, nice_consensus, prettify_std_name, update_telechat, has_same_ballot, |
52 | | - get_initial_notify, make_notify_changed_event ) |
| 52 | + get_initial_notify, make_notify_changed_event, crawl_history) |
53 | 53 | from ietf.community.models import CommunityList |
54 | 54 | from ietf.doc.mails import email_ad |
55 | 55 | from ietf.group.models import Role |
@@ -414,6 +414,7 @@ def document_main(request, name, rev=None): |
414 | 414 | search_archive=search_archive, |
415 | 415 | actions=actions, |
416 | 416 | tracking_document=tracking_document, |
| 417 | + rev_history=crawl_history(doc), |
417 | 418 | ), |
418 | 419 | context_instance=RequestContext(request)) |
419 | 420 |
|
@@ -453,6 +454,7 @@ def document_main(request, name, rev=None): |
453 | 454 | group=group, |
454 | 455 | milestones=milestones, |
455 | 456 | can_manage=can_manage, |
| 457 | + rev_history=crawl_history(doc), |
456 | 458 | ), |
457 | 459 | context_instance=RequestContext(request)) |
458 | 460 |
|
@@ -481,6 +483,7 @@ def document_main(request, name, rev=None): |
481 | 483 | conflictdoc=conflictdoc, |
482 | 484 | ballot_summary=ballot_summary, |
483 | 485 | approved_states=('appr-reqnopub-pend','appr-reqnopub-sent','appr-noprob-pend','appr-noprob-sent'), |
| 486 | + rev_history=crawl_history(doc), |
484 | 487 | ), |
485 | 488 | context_instance=RequestContext(request)) |
486 | 489 |
|
@@ -516,6 +519,7 @@ def document_main(request, name, rev=None): |
516 | 519 | ballot_summary=ballot_summary, |
517 | 520 | approved_states=('appr-pend','appr-sent'), |
518 | 521 | sorted_relations=sorted_relations, |
| 522 | + rev_history=crawl_history(doc), |
519 | 523 | ), |
520 | 524 | context_instance=RequestContext(request)) |
521 | 525 |
|
|
0 commit comments