Minor refactoring of IESG telechat agenda management item code (to allow access controlled pages in the future)

- Legacy-Id: 1886
This commit is contained in:
Pasi Eronen 2009-12-02 09:44:47 +00:00
parent ecc6cb9082
commit b522fe9b26
4 changed files with 8 additions and 11 deletions

View file

@ -142,8 +142,7 @@ def agenda_wg_actions(date):
return res
def agenda_management_issues(date):
matches = TelechatAgendaItem.objects.filter(type=3).order_by('id')
return [o.title for o in matches]
return TelechatAgendaItem.objects.filter(type=3).order_by('id')
def _agenda_data(request, date=None):
if not date:

View file

@ -88,7 +88,7 @@ next Telechat ({{ date }}).
<h2>{% if private %}<a href="https://datatracker.ietf.org/cgi-bin/display_news.cgi?template_type=3">6. Management Issues</a>{%else%}6. Management Issues{%endif%}</h2>
<div id="section6">
{% for m in mgmt %}
<h3>6.{{forloop.counter}} {{m|escape}}</h3>
<h3>6.{{forloop.counter}} {{m.title|escape}}</h3>
{% endfor %}
</div>

View file

@ -59,7 +59,7 @@ http://datatracker.ietf.org/iesg/agenda/
6. Management Issues
{% for m in mgmt %}
6.{{forloop.counter}} {{m}}
6.{{forloop.counter}} {{m.title}}
{% endfor %}
7. Working Group News

View file

@ -108,14 +108,9 @@ teleconference. The Secretariat will post them in the public archive.</b></p>
<!-- SECTION 6 -->
<!-- ===================================================================== -->
{% if not mgmt %}
<h3>6. Management Items</h3>
<p>NONE</p>
{% else %}
{% for m in mgmt %}
<h3>6. Management Items<br>
6.{{forloop.counter}} {{m}}</h3>
6.{{forloop.counter}} {{m.title}}</h3>
<p><b>Is there anything that you would like the Secretariat to record in the minutes for this management issue?</b></p>
@ -125,8 +120,11 @@ teleconference. The Secretariat will post them in the public archive.</b></p>
<p><i>Action Item (if applicable):</i></p>
{% empty %}
<h3>6. Management Items</h3>
<p>NONE</p>
{% endfor %}
{% endif %}
<!-- ===================================================================== -->
<!-- SECTION 7 -->