Skip to content

Commit 43d4017

Browse files
committed
Get rid of some unnecessary queries on IESG review decision page, fix
a couple of issues in the layout - Legacy-Id: 6343
1 parent 66e2503 commit 43d4017

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

ietf/templates/iesg/review_decisions.html

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
{% block title %}IESG Review Decisions{% endblock %}
44

5+
{% block morecss %}
6+
div.decisions h3 { margin-bottom: 0.5em; }
7+
div.decisions div { padding-left: 1em; text-indent: -1em; }
8+
{% endblock %}
9+
510
{% block content %}
611
<h1>IESG Review Decisions</h1>
712

@@ -11,9 +16,11 @@ <h1>IESG Review Decisions</h1>
1116
{% 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 %}
1217
</p>
1318

19+
<div class="decisions">
1420
{% for e in events %}
15-
{% ifchanged %}<h3>{{ e.time|date:"F j, Y" }}</h3>{% endifchanged %}
16-
<div>{{ e.desc }} <a href="{{ e.doc.get_absolute_url }}">{{ e.doc.name }}</a> {% if e.doc.intended_std_level %}({{ e.doc.intended_std_level }}){% endif %} - {{ e.doc.title }}</div>
21+
{% ifchanged %}<h3>{{ e.time|date:"F j, Y" }}</h3>{% endifchanged %}
22+
<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>
1723
{% endfor %}
24+
</div>
1825

1926
{% endblock %}

0 commit comments

Comments
 (0)