2011-11-30 18:14:38 +00:00
{% extends "base.html" %}
{% load endless %}
2012-07-21 20:26:16 +00:00
{% load lang_utils %}
2011-11-30 18:14:38 +00:00
2014-05-22 18:08:15 +00:00
{% block title %} {{ facet_label }} Campaigns {% endblock %}
2011-11-30 18:14:38 +00:00
{% block extra_css %}
< link type = "text/css" rel = "stylesheet" href = "/static/css/supporter_layout.css" / >
< link type = "text/css" rel = "stylesheet" href = "/static/css/book_list.css" / >
2013-03-19 18:53:11 +00:00
< link type = "text/css" rel = "stylesheet" href = "/static/css/book_panel2.css" / >
2012-03-19 19:52:09 +00:00
< link type = "text/css" rel = "stylesheet" href = "/static/css/lists.css" >
2011-11-30 18:14:38 +00:00
{% endblock %}
{% block extra_head %}
2012-02-29 18:23:32 +00:00
< script >
location.hash = "#2";
< / script >
2011-11-30 18:14:38 +00:00
< script type = "text/javascript" src = "/static/js/wishlist.js" > < / script >
2012-03-08 02:47:40 +00:00
< script type = "text/javascript" src = "{{ jquery_ui_home }}" > < / script >
2011-11-30 18:14:38 +00:00
< script type = "text/javascript" src = "/static/js/greenpanel.js" > < / script >
< script type = "text/javascript" src = "/static/js/toggle.js" > < / script >
{% endblock %}
{% block topsection %}
< div id = "js-topsection" >
< div class = "js-main" >
< div class = "js-topnews" >
< div class = "js-topnews1" >
< div class = "js-topnews2" >
< div class = "js-topnews3" >
< div class = "user-block" >
2012-02-07 17:01:00 +00:00
< div id = "user-block1" >
2014-04-30 00:03:33 +00:00
< div id = "block-intro-text" > < span class = "special-user-name" > {{ facet_label }} Campaigns< / span > < / div >
2011-11-30 18:14:38 +00:00
< / div >
2014-04-30 00:03:33 +00:00
< div class = "user-block2" >
2014-05-22 18:08:15 +00:00
{% ifequal facet "unglued" %}
The support of ungluers like you helped make these {% if pub_lang %}{{pub_lang|ez_lang_name}} language {% endif %}books free to the world.
{% else %}{% ifequal facet "t4u" %}
2014-04-30 00:03:33 +00:00
Thank the creators for making these {% if pub_lang %}{{pub_lang|ez_lang_name}} language {% endif %}books free to the world.
2014-05-22 18:08:15 +00:00
{% else %}{% ifequal facet "b2u" %}
By purchasing copies of these {% if pub_lang %}{{pub_lang|ez_lang_name}} language {% endif %}books, ungluers like you are helping to make them free to the world.
2014-04-30 00:03:33 +00:00
{% else %}
With your help we're raising money to make these {% if pub_lang %}{{pub_lang|ez_lang_name}} language {% endif %}books free to the world.
2014-05-22 18:08:15 +00:00
{% endifequal %}{% endifequal %}{% endifequal %}
2014-04-30 00:03:33 +00:00
< / div >
2011-11-30 18:14:38 +00:00
< div class = "user-block3" >
< / div >
< / div >
< / div >
< / div >
< / div >
< / div >
< / div >
< / div >
{% endblock %}
{% block content %}
< div id = "main-container" >
< div class = "js-main" >
< div id = "js-leftcol" >
{% include "explore.html" %}
< / div >
< div id = "js-maincol-fr" >
< div class = "js-maincol-inner" >
2012-02-06 18:53:25 +00:00
< div id = "content-block" >
2011-12-14 21:49:36 +00:00
< div class = "content-block-heading ungluing" id = "tabs" >
2011-11-30 18:14:38 +00:00
< ul class = "book-list-view" >
< li > View As:< / li >
< li class = "view-list" >
< a href = "#" id = "toggle-list" >
< img src = "/static/images/booklist/view-list.png" alt = "view list" title = "view list" height = "21" width = "24" / >
< / a >
< / li >
< li class = "view-list" >
< a href = "#" id = "toggle-panel" >
< img src = "/static/images/booklist/view-icon.png" alt = "view icon" title = "view icon" height = "22" width = "22" / >
< / a >
< / li >
< / ul >
< / div >
2012-02-06 18:53:25 +00:00
< div id = "content-block-content" >
2011-11-30 18:14:38 +00:00
{% ifequal campaign_list.count 0 %}
2014-04-30 00:03:33 +00:00
There aren't any {{ facet_label }}{{ pub_lang|ez_lang_name }} ungluing campaigns right now. If you're an author, publisher, or other rights holder, you can < a href = "/faq/rightsholders" > start one< / a > .
2011-11-30 18:14:38 +00:00
{% else %}
2012-02-29 18:23:32 +00:00
{% lazy_paginate 20 campaign_list using "campaign_list" %}
2011-11-30 18:14:38 +00:00
{% for campaign in campaign_list %}
< div class = "{% cycle 'row1' 'row2' %}" >
2012-01-17 21:27:58 +00:00
{% with campaign.work.googlebooks_id as googlebooks_id %}
2011-11-30 18:14:38 +00:00
{% with campaign.work as work %}
{% include "book_panel.html" %}
2013-03-11 20:23:52 +00:00
{% endwith %}{% endwith %}
2011-11-30 18:14:38 +00:00
< / div >
{% endfor %}
2012-02-29 18:23:32 +00:00
< div class = "pagination content-block-heading tabs-1" >
{% get_pages %}
{% for page in pages %}
2012-03-19 19:52:09 +00:00
< a href = "{{ page.path }}#1" class = "endless_page_link" > {{ page.number }}< / a >
2012-02-29 18:23:32 +00:00
{% endfor %}
2011-11-30 18:14:38 +00:00
< / div >
{% endifequal %}
< / div >
< / div >
2014-10-27 15:55:46 +00:00
{% if request.user.libpref %}
< div id = "libtools" >
< p > for libraries...< / p >
{% block marcform %}
< form method = "GET" action = "{% url campaign_list_marc facet %}" >
{% include 'marc_form.html' %}
< input type = "submit" name = "submit" value = "download MARC" id = "submit" >
< / form >
{% endblock %}
< / div >
{% endif %}
2011-11-30 18:14:38 +00:00
< / div >
< / div >
< / div >
< / div >
2011-10-11 17:02:17 +00:00
{% endblock %}