{# Papers wherever they are shown: one list with tick boxes, one actions bar and one menu per row, the same on every page. #} {% import "_icons.html" as icon %} {% macro actions_bar(ask=True, similar=True, add=True, open_one=True) %} {% endmacro %} {# A row menu given a skip_name sits inside the Library's skip form, whose token and return address its skip buttons post. #} {% macro row_menu(paper, skip_name="") %} {% if paper.prepared is not defined or paper.prepared %}Ask about {{ paper.name }}{% endif %}
{{ icon.more() }}
{% endmacro %} {% macro paper_list(papers, back, label="Papers", extra_actions="") %}
0 ticked {{ actions_bar() }}{{ extra_actions }}
{% endmacro %}