2011-12-29 17:50:09 +00:00
|
|
|
{% load truncatechars %}
|
2011-09-27 09:45:03 +00:00
|
|
|
<div class="jsmodule">
|
|
|
|
<h3 class="jsmod-title"><span>Explore</span></h3>
|
2011-09-21 15:11:36 +00:00
|
|
|
<div class="jsmod-content">
|
2011-09-27 09:45:03 +00:00
|
|
|
<ul class="menu level1">
|
2011-09-29 01:36:47 +00:00
|
|
|
|
2011-09-27 09:45:03 +00:00
|
|
|
<li class="first parent">
|
2012-01-15 18:31:39 +00:00
|
|
|
<span>Show me...</span>
|
2011-09-27 09:45:03 +00:00
|
|
|
<ul class="menu level2">
|
2012-02-07 17:01:00 +00:00
|
|
|
{% if not request.user.is_anonymous %}
|
2012-01-30 15:09:45 +00:00
|
|
|
<li class="first"><a href="/"><span>My Wishlist</span></a></li>
|
|
|
|
{% endif %}
|
2012-02-07 17:01:00 +00:00
|
|
|
<li><a href="{% url comment %}"><span>Latest Comments</span></a></li>
|
|
|
|
<li><a href="{% url work_list 'recommended' %}"><span>Recommended</span></a></li>
|
2012-01-30 15:09:45 +00:00
|
|
|
{% if is_preview %}
|
2012-01-15 19:55:56 +00:00
|
|
|
<li><a href="{% url work_list 'popular' %}"><span>Popular</span></a></li>
|
2012-01-15 21:48:26 +00:00
|
|
|
<li><a href="{% url unglued_list 'recent' %}"><span>Recently unglued</span></a></li>
|
|
|
|
<li class="last"><a href="{% url work_list 'new' %}"><span>Newly Wished</span></a></li>
|
2012-01-15 19:55:56 +00:00
|
|
|
{% else %}
|
2011-12-01 14:41:08 +00:00
|
|
|
<li><a href="{% url work_list 'popular' %}"><span>Popular</span></a></li>
|
2012-01-15 17:04:43 +00:00
|
|
|
<li><a href="{% url campaign_list 'pledges' %}" class="comingsoon"><span>Most pledges</span></a></li>
|
|
|
|
<li><a href="{% url campaign_list 'pledged' %}" class="comingsoon"><span>Biggest campaigns</span></a></li>
|
|
|
|
<li><a href="{% url unglued_list 'recent' %}" class="comingsoon"><span>Recently unglued</span></a></li>
|
|
|
|
<li><a href="{% url campaign_list 'ending' %}" class="comingsoon"><span>Ending Soon</span></a></li>
|
|
|
|
<li class="last"><a href="{% url campaign_list 'newest' %}" class="comingsoon"><span>Just Listed</span></a></li>
|
2012-01-15 19:55:56 +00:00
|
|
|
{% endif %}
|
2011-09-21 15:11:36 +00:00
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
<li class="parent">
|
2012-01-15 18:31:39 +00:00
|
|
|
<span>Ungluers</span>
|
2011-09-27 09:45:03 +00:00
|
|
|
<ul class="menu level2">
|
2011-11-14 20:16:12 +00:00
|
|
|
{% for ungluer in ungluers %}
|
|
|
|
<li class="first"><a href="{% url supporter supporter_username=ungluer %}">
|
|
|
|
{% if ungluer.profile.pic_url %}
|
2012-01-15 23:53:39 +00:00
|
|
|
<img src="{{ungluer.profile.pic_url}}" height="30" width="30" alt="{{ungluer}}" title="{{ungluer}}" /></a>
|
2011-11-14 20:16:12 +00:00
|
|
|
{% else %}
|
2012-01-15 23:53:39 +00:00
|
|
|
<img src="/static/images/header/avatar.png" height="30" width="30" alt="Generic Ungluer Avatar" /></a>
|
2011-11-14 20:16:12 +00:00
|
|
|
{% endif %}
|
2012-01-15 23:53:39 +00:00
|
|
|
<a href="{% url supporter supporter_username=ungluer %}"><span class="ungluer-name">{{ungluer|truncatechars:20}}</span>
|
2011-11-14 20:16:12 +00:00
|
|
|
</a></li>
|
|
|
|
{% endfor %}
|
2011-09-21 15:11:36 +00:00
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|