diff --git a/ietf/idrfc/urls.py b/ietf/idrfc/urls.py index 1b529769e..1585d6673 100644 --- a/ietf/idrfc/urls.py +++ b/ietf/idrfc/urls.py @@ -38,6 +38,7 @@ urlpatterns = patterns('', (r'^search/$', views_search.search_results), (r'^all/$', views_search.all), (r'^active/$', views_search.active), + (r'^in-last-call/$', views_search.in_last_call), url(r'^ad/(?P[A-Za-z0-9.-]+)/$', views_search.by_ad, name="doc_search_by_ad"), url(r'^(?P[A-Za-z0-9.-]+)/((?Pballot|writeup|history)/)?$', views_doc.document_main, name="doc_view"), diff --git a/ietf/idrfc/views_search.py b/ietf/idrfc/views_search.py index 32c4dd1a8..4047c8909 100644 --- a/ietf/idrfc/views_search.py +++ b/ietf/idrfc/views_search.py @@ -310,3 +310,7 @@ def active(request): groups = IETFWG.objects.exclude(group_acronym=1027) individual = IETFWG.objects.get(group_acronym=1027) return render_to_response("idrfc/active.html", {'groups':groups,'individual':individual}, context_instance=RequestContext(request)) + +def in_last_call(request): + lcdocs = [IdWrapper(p) for p in InternetDraft.objects.all().filter(idinternal__primary_flag=1).filter(idinternal__cur_state__state='In Last Call')] + return render_to_response("idrfc/in_last_call.html", {'lcdocs':lcdocs}, context_instance=RequestContext(request)) diff --git a/ietf/templates/idrfc/in_last_call.html b/ietf/templates/idrfc/in_last_call.html new file mode 100644 index 000000000..2d472118f --- /dev/null +++ b/ietf/templates/idrfc/in_last_call.html @@ -0,0 +1,16 @@ +{% extends "base.html" %} + +{% block title %}Internet-Drafts in IETF Last Call{% endblock %} + +{% block content %} +

Internet-Drafts in IETF Last Call

+ + + + +{% for doc in lcdocs %} +{% include "idrfc/search_result_row.html" %} +{% endfor %} +
DocumentTitleDateStatusiprArea Director
+ +{% endblock %}