{% extends "base.html" %} {% block title %} — {{ supporter.username }}{% endblock %} {% block extra_head %} {% endblock %} /* To do: tidy: remove unnecessary divs copy-pasted over from standalone version decide how many panels go in a row & space appropriately (do we have guidance from stefan?) I did 5 across by shaving one pixel off each (143-142) but don't like what it's done to white space incorporate book panel css into other css & clean up make this part of supporter page; figure out swap logic remove unneeded view icon make js work how to handle overlong author/titles? Am using truncatewords; truncatechars is better but not available in my version of Django really want to limit the number of lines. but css with hidden overflow might be weird. show on hover? need these boxes to have fixed height anyway because it looks weird with status at different heights */ {% block topsection %}
{% ifequal supporter request.user %} {% endifequal %}
User avatar {{ supporter.username }} {{ date }} {{ supporter.profile.tagline }}
{{ backed }} {{ backing }} {{ wished }}
I am ungluing
{% ifequal supporter request.user %}
{% csrf_token %}

Your Tagline

{{ profile_form.tagline }}

Links

{{ profile_form.home_url }}
{{ profile_form.twitter_id }}

Other Stuff

{% 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 %}
{% for work in wishlist.works.all %} {% if work.last_campaign_status == 'SUCCESSFUL' %}
{% else %}{% if work.last_campaign_status == 'ACTIVE' %}
{% else %}
{% endif %}{% endif %}
{{ work.title|truncatewords:5 }}

{{ work.author|truncatewords:3 }}

Status: {{ work.last_campaign_status }}

book list status

100%

Unglued!

Sept 12 2011

Raised: $12,000

{% ifequal supporter request.user %}
Remove from Wishlist
{% else %}{% if work in shared_works %}
On Your Wishlist!
{% else %}{% if request.user.is_anonymous %} {% else %}
Add to Wishlist
{% endif %}{% endif %}{% endifequal %}
{{ work.title }}

{{ work.author }}

Status: {{ work.last_campaign_status }}

{% endfor %} {% endifequal %}
{% endblock %}