{% extends "base.html" %} {% load endless %} {% load truncatechars %} {% block title %} — {{ supporter.username }}{% endblock %} {% block extra_css %} {% endblock %} {% block extra_head %} {% endblock %} {% comment %} To do: create topsection file for inclusion in multiple contexts, if needed figure out how to configure date display decide if we're even including date joined in profile Goodreads be sure words display correctly do I need both add-wishlist and remove-wishlist classes? do they differ? better alignment on I am ungluing & badges make sure backed/backing/wishlist is the order we want the badges to be in test code with other campaign statuses -- random_campaigns needs to set a variety of statuses! why is there a status in regluit.payment.models.Transaction? does it duplicate the status in regluit.core.models.Campaign? there's no tab for seeing ALL my books, only the filters! huh. Values I need: how do I integrate the your wishlist thing with the tabs thing? {% endcomment %} {% block topsection %}
{% ifequal supporter request.user %}
{% if supporter.profile.pic_url %} Picture of {{ supporter }} {% else %} Generic Ungluer Avatar {% endif %} {{ supporter.username|truncatechars:20 }} {{ date }} {{ supporter.profile.tagline }}
{% else %}
{% if supporter.profile.pic_url %} Picture of {{ supporter }} {% else %} Generic Ungluer Avatar {% endif %} {{ supporter.username }} {{ date }}
{% with supporter.profile.tagline as tagline %}{% if tagline %}{{ tagline }}{% else %} {% endif %}{% endwith %}
{% endifequal %}
I've unglued {{ backed }} I'm ungluing {{ backing }} I'm wishing for {{ wished }}
{% ifequal supporter request.user %}
{% csrf_token %}

Your Tagline

(140 characters max) {{ profile_form.tagline.errors }} {{ profile_form.tagline }}

Links

{{ profile_form.home_url }}{{ profile_form.home_url.errors }}
{% if supporter.profile.twitter_id %} Update your Twitter connection
or disconnect Twitter: {{ profile_form.clear_twitter }} {% else %} Connect your Twitter account to Unglue.it {% endif %}
{% if supporter.profile.facebook_id %} Update your Facebook connection
or disconnect Facebook: {{ profile_form.clear_facebook }} {% else %} Connect your Facebook account to Unglue.it {% endif %}
{% if user.profile.goodreads_user_id %} Update your GoodReads connection {% else %} Connect your GoodReads account to Unglue.it {% endif %}
{{ profile_form.librarything_id }}{{ profile_form.librarything_id.errors }}

Import your books

{% if goodreads_shelf_load_form %}
{% csrf_token %} {{ goodreads_shelf_load_form.non_field_errors }}
{{ goodreads_shelf_load_form.goodreads_shelf_name_number.errors }} {{ goodreads_shelf_load_form.goodreads_shelf_name_number }}
{% else %}
Connect your GoodReads account to import from GoodReads.
{% endif %} {% if librarything_id %}
{% csrf_token %}
{% else %}
Add your LibraryThing ID to import from LibraryThing.
{% endif %}
{% endifequal %}
{% endblock %} {% block content %}
{% include "explore.html" %}
{% ifequal wishlist.works.all.count 0 %} {% ifequal request.user supporter %}
Your wishlist is currently empty.

Go ahead and find some books to give to the world, and add them to your Wishlist!

We double dog dare you...
{% else %}
It looks like {{ supporter.username }} is just getting started, and hasn't added anything to their wishlist just yet.

Nudge, nudge, say no more. {% endifequal %} {% else %} {% paginate 20 works %} {% for work in works %}
{% with work.last_campaign_status as status %} {% with work.last_campaign.deadline as deadline %} {% with work.editions.all.0.googlebooks_id as googlebooks_id %} {% include "book_panel.html" %} {% endwith %}{% endwith %}{% endwith %}
{% endfor %}
{% endifequal %}
{% endblock %} {% block counter %}
web statistics
{% endblock %}