{% extends "index_page.html" %} {%from "oauth2/display_error.html" import display_error%} {% block title %}Your Collections{% endblock %} {% block css %} {% endblock %} {% block content %}
{{flash_me()}} {% if g.user_session.logged_in %}

Collections owned by {% if g.user_session.user_name %}{{ g.user_session.user_name }}{% else %}{{ g.user_session.user_email }} {% endif %}

{% else %}

Your Collections

{% endif %}


{%if anon_collections_error is defined%} {{display_error("Anonymous Collections", anon_collections_error)}} {%endif%} {%if anon_collections | length > 0%} {% for uc in anon_collections %} {% endfor %}
Anonymous Collections
Index Name Created Last Changed # Records
{{ loop.index }} {{ uc.name }} {{ uc.created }} {{ uc.changed }} {{ uc.num_members }}
{%endif%} {% if collections|length > 0 %} {% if (anon_collections | length > 0) and (collections | length > 0) %}
{%endif%} {% for uc in collections %} {% endfor %}
User Collections
Index Name Created Last Changed # Records
{{ loop.index }} {{ uc.name }} {{ uc.created }} {{ uc.changed }} {{ uc.num_members }}
{% endif %} {% if (anon_collections | length < 1) and (collections | length < 1) %} You have no collections yet. {% endif %}
{% endblock %} {% block js %} {% endblock %}