diff options
Diffstat (limited to 'sw/templates/ap/collection_page.html')
| -rw-r--r-- | sw/templates/ap/collection_page.html | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/sw/templates/ap/collection_page.html b/sw/templates/ap/collection_page.html new file mode 100644 index 0000000..dc209d0 --- /dev/null +++ b/sw/templates/ap/collection_page.html @@ -0,0 +1,19 @@ +{% extends "base.html" %} + +{% block content %} + +{% block items %} +<ol> + {% for item in items %} + {% block item_info scoped %} + <li value="{{ item.id }}"> + <a href="{{ url_for('items.get_item_info', item_id=item.id) }}"> + {{ item.summary or item.name or "unknown item" }} + </a> + </li> + {% endblock %} + {% endfor %} +</ol> +{% endblock %} + +{% endblock %} |
