зеркало из https://github.com/mozilla/CSOL-site.git
fixed collapsing program links. fixes #739
This commit is contained in:
Родитель
b0ed172a13
Коммит
495ee328dc
|
@ -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}}
|
||||||
• <abbr title="Scienece Technology Engineering Art Math">STEAM</abbr>: {{org.steam}}
|
• <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>
|
||||||
|
|
Загрузка…
Ссылка в новой задаче