preview explore

pull/1/head
eric 2012-01-15 14:55:56 -05:00
parent d9a3070425
commit 2508d1308e
2 changed files with 8 additions and 1 deletions

View File

@ -7,6 +7,12 @@
<li class="first parent">
<span>Show me...</span>
<ul class="menu level2">
{% if is_preview %}
<li class="first"><a href="{% url work_list 'recommended' %}"><span>Recommended</span></a></li>
<li><a href="{% url work_list 'popular' %}"><span>Popular</span></a></li>
<li><a href="{% url unglued_list 'recent' %}" class="comingsoon"><span>Recently unglued</span></a></li>
<li class="last"><a href="{% url work_list 'new' %}" class="comingsoon"><span>Newly Wished</span></a></li>
{% else %}
<li class="first"><a href="{% url work_list 'recommended' %}"><span>Recommended</span></a></li>
<li><a href="{% url work_list 'popular' %}"><span>Popular</span></a></li>
<li><a href="{% url campaign_list 'pledges' %}" class="comingsoon"><span>Most pledges</span></a></li>
@ -14,6 +20,7 @@
<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>
{% endif %}
</ul>
</li>
<li class="parent">

View File

@ -201,7 +201,7 @@ GOODREADS_API_SECRET = ""
UNGLUEIT_MINIMUM_TARGET = '1000' # in US Dollars
UNGLUEIT_LONGEST_DEADLINE = '180' # number of days allowed for a campaign
UNGLUEIT_SHORTEST_DEADLINE = '7' # minimum number of days allowed for a campaign
UNGLUEIT_RECOMMENDED_USERNAME = 'recommended'
UNGLUEIT_RECOMMENDED_USERNAME = 'unglueit'
TEST_RUNNER = "djcelery.contrib.test_runner.CeleryTestSuiteRunner"
import djcelery