{% extends "base.html" %} {% block title %} — {{ supporter.username }}{% endblock %} {% block extra_head %} {% endblock %} /* 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 add support for userpics crop/resize? other infrastructure we need? can we pull from twitter/fb? add support for twitter/fb/other links? part of user profile? can I just add to db model? loosely coupled vs actually integrated with signin canonicalize -- user enters cut/paste link vs username Goodreads & Librarything support If people lack homepage, etc., do we have greyed-out icons or no icons? if greyed-out, can they add in place by clicking on them? make sure we have the profile settings we need resurrect add/remove functionality 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? */ {% 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 %}
Book name
{% 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.last_campaign_status }} book list status
{% endfor %} {% endifequal %}
{% endblock %}