Page MenuHomec4science

bibholdingpen_utils.html
No OneTemporary

File Metadata

Created
Tue, Dec 3, 06:11

bibholdingpen_utils.html

{% macro function_display(fun, task_counter) -%}
{% set comma2 = joiner(",") %}
{% for w in fun %}
{% if w is not iterable %}
{{ comma2() }}
</br>
{% if fun.index(w) == task_counter[-1] %}
<b>
{% endif %}
<a href="#infoModal" data-toggle="modal">{{ w.__title__ }}</a>
<div id="infoModal" class="modal hide fade" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h3 id="myModalLabel">Function Description</h3>
</div>
<div class="modal-body">
{{ w.func_doc }}
</div>
</div>
{% if w.func_closure is defined %}
{% if w.func_closure is iterable %}
{% set comma = joiner(", ") %}
{% for arg in w.func_closure %}
{{ comma() }}
{{ arg.cell_contents }}
{% endfor %}
{% endif %}
{% endif %}
{% if fun.index(w) == task_counter[-1] %}
</b>
{% endif %}
{% endif %}
{% endfor %}
{%- endmacro %}

Event Timeline