зеркало из 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>
|
||||
<hr>
|
||||
<ul class="orgs unstyled">
|
||||
{% set rowloop = loop %}
|
||||
{% for org in list %}
|
||||
<li>
|
||||
<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>
|
||||
{{org.start}} - {{org.end}}
|
||||
• <abbr title="Scienece Technology Engineering Art Math">STEAM</abbr>: {{org.steam}}
|
||||
</small>
|
||||
</h4>
|
||||
<div id="collapse{{loop.count}}" class="collapse">
|
||||
<div id="collapse-{{rowloop.index}}-{{loop.index}}" class="collapse">
|
||||
<p>
|
||||
{{org.program_description}}
|
||||
</p>
|
||||
|
|
Загрузка…
Ссылка в новой задаче