Add timeframe to IESG Review Decisions page
- Legacy-Id: 6348
This commit is contained in:
parent
43d4017891
commit
5fe7ce62ff
|
@ -76,10 +76,13 @@ def review_decisions(request, year=None):
|
|||
#proto_levels = ["bcp", "ds", "ps", "std"]
|
||||
#doc_levels = ["exp", "inf"]
|
||||
|
||||
timeframe = u"%s" % year if year else u"the past 6 months"
|
||||
|
||||
return render_to_response('iesg/review_decisions.html',
|
||||
dict(events=events,
|
||||
years=years,
|
||||
year=year),
|
||||
year=year,
|
||||
timeframe=timeframe),
|
||||
context_instance=RequestContext(request))
|
||||
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block title %}IESG Review Decisions{% endblock %}
|
||||
{% block title %}IESG Review Decisions in {{ timeframe }}{% endblock %}
|
||||
|
||||
{% block morecss %}
|
||||
div.decisions h3 { margin-bottom: 0.5em; }
|
||||
|
@ -8,9 +8,9 @@ div.decisions div { padding-left: 1em; text-indent: -1em; }
|
|||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<h1>IESG Review Decisions</h1>
|
||||
<h1>IESG Review Decisions in {{ timeframe }}</h1>
|
||||
|
||||
<p>Showing review decisions announced in {% if year %}{{ year }}{% else %}the past 6 months{% endif %}.</p>
|
||||
<p>Showing review decisions announced in {{ timeframe }}.</p>
|
||||
|
||||
<p>Announcements in:
|
||||
{% for y in years %}<a {% if y != year %}href="{% url ietf.iesg.views.review_decisions year=y %}"{% endif %}>{{ y }}</a>{% if not forloop.last %}, {% endif %}{% endfor %}
|
||||
|
@ -19,7 +19,7 @@ div.decisions div { padding-left: 1em; text-indent: -1em; }
|
|||
<div class="decisions">
|
||||
{% for e in events %}
|
||||
{% ifchanged %}<h3>{{ e.time|date:"F j, Y" }}</h3>{% endifchanged %}
|
||||
<div>{{ e.desc }} <a href="{% url doc_view e.doc.name %}">{{ e.doc.name }}</a> {% if e.doc.intended_std_level %}({{ e.doc.intended_std_level }}){% endif %} - {{ e.doc.title }}</div>
|
||||
<div>{{ e.desc }}: <a href="{% url doc_view e.doc.name %}">{{ e.doc.name }}</a> {% if e.doc.intended_std_level %}({{ e.doc.intended_std_level }}){% endif %} - {{ e.doc.title }}</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in a new issue