Merged [2949] from rjsparks@nostrum.com:
Adds a view of documents currently in IETF Last Call Fixes bug #630 - Legacy-Id: 2957 Note: SVN reference [2949] has been migrated to Git commit 2cb9e0050a2970e5c5576b46ce75a0b7095532fd
This commit is contained in:
parent
0ccff982bb
commit
12f344054d
|
@ -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<name>[A-Za-z0-9.-]+)/$', views_search.by_ad, name="doc_search_by_ad"),
|
||||
|
||||
url(r'^(?P<name>[A-Za-z0-9.-]+)/((?P<tab>ballot|writeup|history)/)?$', views_doc.document_main, name="doc_view"),
|
||||
|
|
|
@ -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))
|
||||
|
|
16
ietf/templates/idrfc/in_last_call.html
Normal file
16
ietf/templates/idrfc/in_last_call.html
Normal file
|
@ -0,0 +1,16 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block title %}Internet-Drafts in IETF Last Call{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<h1>Internet-Drafts in IETF Last Call</h1>
|
||||
|
||||
<table class="ietf-table ietf-doctable">
|
||||
<tr><th class="doc">Document</th><th class="title">Title</th><th class="date">Date</th><th class="status" colspan="2">Status</th><th class="ipr">ipr</th><th class="ad">Area Director</th></tr>
|
||||
|
||||
{% for doc in lcdocs %}
|
||||
{% include "idrfc/search_result_row.html" %}
|
||||
{% endfor %}
|
||||
</table>
|
||||
|
||||
{% endblock %}
|
Loading…
Reference in a new issue