menu is more location-specific
parent
a3fbf5d7b7
commit
aa10713e49
|
@ -5,6 +5,22 @@
|
|||
<h2>FAQ</h2>
|
||||
|
||||
<dl>
|
||||
{% if location == 'basics' or location == 'faq' %}
|
||||
If you were on the Basics or general FAQ page, you'd be able to read this. Oh hey! You are!<br />
|
||||
{% endif %}
|
||||
|
||||
{% if location == 'starting_campaigns' or location == 'faq' %}
|
||||
If you were on the Starting Campaigns or general FAQ page, you'd be able to read this. Oh hey! You are!<br />
|
||||
{% endif %}
|
||||
|
||||
{% if location == 'supporting_campaigns' or location == 'faq' %}
|
||||
If you were on the Supporting Campaigns or general FAQ page, you'd be able to read this. Oh hey! You are!<br />
|
||||
{% endif %}
|
||||
|
||||
{% if location == 'unglued_ebooks' or location == 'faq' %}
|
||||
If you were on the Unglued Ebooks or general FAQ page, you'd be able to read this. Oh hey! You are!<br />
|
||||
{% endif %}
|
||||
|
||||
<dt>I know a book that should be unglued.</dt>
|
||||
|
||||
<dd>Great! Find it in our database (using the search box above) and add it to your wishlist, so we know it should be on our list, too. You can also contact us: <!-- info? --></dd>
|
||||
|
|
|
@ -23,7 +23,8 @@ urlpatterns = patterns(
|
|||
url(r"^rightsholders/claim/$", "claim", name="claim"),
|
||||
url(r"^rh_admin/$", "rh_admin", name="rh_admin"),
|
||||
url(r"^campaign_admin/$", "campaign_admin", name="campaign_admin"),
|
||||
url(r"^faq/(?P<location>\w*)/$", FAQView.as_view(), name="faq"),
|
||||
url(r"^faq/$", FAQView.as_view(), {'location':'faq'}, name="faq"),
|
||||
url(r"^faq/(?P<location>\w*)/$", FAQView.as_view()),
|
||||
url(r"^wishlist/$", "wishlist", name="wishlist"),
|
||||
url(r"^campaigns/(?P<pk>\d+)/$",CampaignFormView.as_view(), name="campaign_by_id"),
|
||||
url(r"^campaigns/(?P<facet>\w*)$", CampaignListView.as_view(), name='campaign_list'),
|
||||
|
|
Loading…
Reference in New Issue