fixed collapsing program links. fixes #739

This commit is contained in:
Joe Curlee 2013-07-12 09:44:13 -05:00
Родитель b0ed172a13
Коммит 495ee328dc
1 изменённых файлов: 3 добавлений и 2 удалений

Просмотреть файл

@ -12,16 +12,17 @@
<h3>{{grouper}} {{list|length}}</h3> <h3>{{grouper}} {{list|length}}</h3>
<hr> <hr>
<ul class="orgs unstyled"> <ul class="orgs unstyled">
{% set rowloop = loop %}
{% for org in list %} {% for org in list %}
<li> <li>
<h4> <h4>
<a data-toggle="collapse" data-target="#collapse{{loop.index}}">{{org.program_name}}</a> <a data-toggle="collapse" data-target="#collapse-{{rowloop.index}}-{{loop.index}}">{{org.program_name}}</a>
<small> <small>
{{org.start}} - {{org.end}} {{org.start}} - {{org.end}}
&bull; <abbr title="Scienece Technology Engineering Art Math">STEAM</abbr>: {{org.steam}} &bull; <abbr title="Scienece Technology Engineering Art Math">STEAM</abbr>: {{org.steam}}
</small> </small>
</h4> </h4>
<div id="collapse{{loop.count}}" class="collapse"> <div id="collapse-{{rowloop.index}}-{{loop.index}}" class="collapse">
<p> <p>
{{org.program_description}} {{org.program_description}}
</p> </p>