Committing code merged in from Pasi.
- Legacy-Id: 1510
This commit is contained in:
parent
23f70c28f7
commit
1ba03ae26e
|
@ -278,7 +278,7 @@ class RfcWrapper:
|
|||
if self.in_ietf_process():
|
||||
s = self.ietf_process.main_state
|
||||
if not s in ["RFC Published", "AD is watching", "Dead"]:
|
||||
return "RFC %d (%s)<br/>%s (to %s)" % (self.rfc_number, self.maturity_level, s, self.ietf_process.intended_maturity_level())
|
||||
return "RFC %d (%s)<br/>%s (to %s)" % (self.rfc_number, self.maturity_level, self.ietf_process.state, self.ietf_process.intended_maturity_level())
|
||||
return "RFC %d (%s)" % (self.rfc_number, self.maturity_level)
|
||||
|
||||
def ad_name(self):
|
||||
|
|
|
@ -2,29 +2,9 @@
|
|||
|
||||
from django.contrib.syndication.feeds import Feed
|
||||
from django.utils.feedgenerator import Atom1Feed
|
||||
from ietf.iesg.models import TelechatMinutes
|
||||
from ietf.idtracker.models import IDInternal
|
||||
import datetime
|
||||
|
||||
class IESGMinutes(Feed):
|
||||
title = "IESG Telechat Minutes"
|
||||
link = "/iesg/telechat/"
|
||||
subtitle = "Minutes from IESG Telechats."
|
||||
feed_type = Atom1Feed
|
||||
author_name = 'IESG Secretary'
|
||||
|
||||
def items(self):
|
||||
return TelechatMinutes.objects.order_by('-telechat_date')[:10]
|
||||
|
||||
def item_link(self, item):
|
||||
return "/iesg/telechat/%d/" % (item.id)
|
||||
|
||||
# The approval date isn't stored, so let's just say they're
|
||||
# published on the date of the telechat.
|
||||
def item_pubdate(self, item):
|
||||
# (slightly better would be 0900 Eastern on this date)
|
||||
return item.telechat_date
|
||||
|
||||
class IESGAgenda(Feed):
|
||||
title = "IESG Telechat Agenda"
|
||||
link = "http://www.ietf.org/IESG/agenda.html"
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
# Copyright The IETF Trust 2007, All Rights Reserved
|
||||
#
|
||||
from django.contrib.sitemaps import GenericSitemap
|
||||
from ietf.iesg.urls import telechat_detail
|
||||
|
||||
IESGMinutesMap = GenericSitemap(telechat_detail, changefreq="never")
|
|
@ -35,31 +35,15 @@
|
|||
from django.conf.urls.defaults import patterns
|
||||
from django.conf import settings
|
||||
from ietf.iesg import views
|
||||
from ietf.iesg.models import TelechatMinutes
|
||||
from ietf.idtracker.models import BallotInfo
|
||||
|
||||
#urlpatterns = patterns('django.views.generic.list_detail',
|
||||
# (r'^lastcall/$', 'object_list', {
|
||||
# 'queryset': InternetDraft.objects.all() }),
|
||||
#)
|
||||
|
||||
queryset = TelechatMinutes.objects.all()
|
||||
telechat_detail = {
|
||||
'queryset': queryset,
|
||||
'date_field': 'telechat_date',
|
||||
}
|
||||
telechat_archive = dict(telechat_detail, allow_empty=True)
|
||||
|
||||
queryset_ann = BallotInfo.objects.all()
|
||||
|
||||
urlpatterns = patterns('django.views.generic.date_based',
|
||||
(r'^telechat/$', 'archive_index', telechat_archive),
|
||||
(r'^telechat/y/(?P<year>\d{4})/$', 'archive_year', telechat_archive),
|
||||
(r'^telechat/y/(?P<year>\d{4})/(?P<month>[a-z]{3})/$', 'archive_month', telechat_archive),
|
||||
)
|
||||
urlpatterns = patterns('',
|
||||
(r'^telechat/.*$', 'django.views.generic.simple.redirect_to', { 'url': 'http://www.ietf.org/iesg/minutes.html' })
|
||||
)
|
||||
|
||||
urlpatterns += patterns('django.views.generic.list_detail',
|
||||
(r'^telechat/(?P<object_id>\d+)/$', 'object_detail', { 'queryset': queryset }),
|
||||
(r'^ann/(?P<object_id>\d+)/$', 'object_detail', { 'queryset': queryset_ann, 'template_name':"iesg/ballotinfo_detail.html" }),
|
||||
)
|
||||
|
||||
|
|
|
@ -198,7 +198,7 @@ def discusses(request):
|
|||
except RfcIndex.DoesNotExist:
|
||||
# NOT QUITE RIGHT, although this should never happen
|
||||
pass
|
||||
if len(draft) > 0 and draft[0].draft.id_document_tag not in ids:
|
||||
if len(draft) > 0 and not draft[0].rfc_flag and draft[0].draft.id_document_tag not in ids:
|
||||
ids.add(draft[0].draft.id_document_tag)
|
||||
doc = IdWrapper(draft=draft[0])
|
||||
if doc.in_ietf_process() and doc.ietf_process.has_active_iesg_ballot():
|
||||
|
|
|
@ -64,15 +64,15 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
|
||||
<li class="sect">Meetings</li>
|
||||
<li><a href="/meeting/agenda/">Agenda</a></li>
|
||||
<li><a href="/meeting/materials/">Materials</a></li>
|
||||
<li><a href="/meeting/">Materials</a></li>
|
||||
<li><a href="http://tools.ietf.org/rooms">Room maps</a></li>
|
||||
<li><a href="http://www.ietf.org/proceedings_directory.html">Past Proceedings</a></li>
|
||||
<li><a href="http://www.ietf.org/meetings/0mtg-sites.txt">Upcoming Meetings</a></li>
|
||||
<li><a href="http://www.ietf.org/meeting/proceedings.html">Past Proceedings</a></li>
|
||||
<li><a href="http://www.ietf.org/meeting/upcoming.html">Upcoming Meetings</a></li>
|
||||
|
||||
<li class="sect">Other documents</li>
|
||||
<li><a href="/ipr/">IPR Disclosures</a></li>
|
||||
<li><a href="/liaison">Liaison Statements</a></li>
|
||||
<li><a href="/iesg/telechat/">IESG Minutes</a></li>
|
||||
<li><a href="http://www.ietf.org/iesg/minutes.html">IESG Minutes</a></li>
|
||||
|
||||
<li class="sect">Related sites</li>
|
||||
<li><a href="http://www.ietf.org/" >Main IETF site</a></li>
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
from django.conf.urls.defaults import patterns, include, handler404, handler500
|
||||
|
||||
from ietf.iesg.feeds import IESGMinutes, IESGAgenda
|
||||
from ietf.iesg.feeds import IESGAgenda
|
||||
from ietf.idtracker.feeds import DocumentComments, InLastCall
|
||||
from ietf.ipr.feeds import LatestIprDisclosures
|
||||
from ietf.proceedings.feeds import LatestWgProceedingsActivity
|
||||
|
@ -11,13 +11,11 @@ from ietf.liaisons.feeds import Liaisons
|
|||
from ietf.idtracker.sitemaps import IDTrackerMap, DraftMap
|
||||
from ietf.liaisons.sitemaps import LiaisonMap
|
||||
from ietf.ipr.sitemaps import IPRMap
|
||||
from ietf.iesg.sitemaps import IESGMinutesMap
|
||||
from ietf.announcements.sitemaps import NOMCOMAnnouncementsMap
|
||||
|
||||
from django.conf import settings
|
||||
|
||||
feeds = {
|
||||
'iesg-minutes': IESGMinutes,
|
||||
'iesg-agenda': IESGAgenda,
|
||||
'last-call': InLastCall,
|
||||
'comments': DocumentComments,
|
||||
|
@ -31,7 +29,6 @@ sitemaps = {
|
|||
'drafts': DraftMap,
|
||||
'liaison': LiaisonMap,
|
||||
'ipr': IPRMap,
|
||||
'iesg-minutes': IESGMinutesMap,
|
||||
'nomcom-announcements': NOMCOMAnnouncementsMap,
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue