{% extends "base.html" %} {% load endless %} {% load lang_utils %} {% block title %} Works {% endblock %} {% block extra_css %} {% endblock %} {% block extra_head %} {% endblock %} {% block topsection %}
{{ activetab }}
{% block userblock %}
{% block userblock1 %}
{{ facet|capfirst }}
{% endblock %}
{% block userblock2 %} With your help we're raising money to give these {% if pub_lang %}{{pub_lang|ez_lang_name}} language {% endif %}books to the world. {% endblock %}
{% block userblock3 %}{% endblock %}
{% endblock %}
{% endblock %} {% block content %}
{% include "explore.html" %}
{% ifequal work_list.count 0 %} {% block noworks %} There aren't any {{ pub_lang|ez_lang_name }} works in this list yet. {% block add_more %}Why not add your favorite books to your list, so we can feature them here?{% endblock %} {% endblock %} {% else %} {% lazy_paginate 20 works_unglued using "works_unglued" %} {% for work in works_unglued %}
{% with googlebooks_id=work.googlebooks_id tab_override='tabs-1' %} {% include "book_panel.html" %} {% endwith %}
{% endfor %} {% lazy_paginate 20 works_active using "works_active" %} {% for work in works_active %}
{% with googlebooks_id=work.googlebooks_id tab_override='tabs-2' %} {% include "book_panel.html" %} {% endwith %}
{% endfor %} {% lazy_paginate 20 works_wished using "works_wished" %} {% for work in works_wished %}
{% with googlebooks_id=work.googlebooks_id tab_override='tabs-3' %} {% include "book_panel.html" %} {% endwith %}
{% endfor %} {% endifequal %}
{% endblock %}