kill crowdfunding graphic and slideshow
parent
998f33c770
commit
7f59be6ada
|
@ -49,17 +49,7 @@ function put_un_in_cookie2(){
|
|||
<div id="js-main-container">
|
||||
<div class="js-main-container-inner">
|
||||
<div id="js-maincontainer-content" class="have-content-right-module">
|
||||
<div class="content-right-module">
|
||||
<h3>How does it work?</h3>
|
||||
</div>
|
||||
<div style="clear:right;">
|
||||
<div class="item-content">
|
||||
<h2 class="page-heading">Give ebooks to the world.</h2>
|
||||
</div>
|
||||
<div class="jsmod-content">
|
||||
<a href="{{ faqurl }}#crowdfunding"><img src="/static/images/landingpage/icon-group.png" alt="How does it work?" title="How does it work?" height="269" width="268" /></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div id="js-maincontainer-bot-block">
|
||||
<div id="js-search">
|
||||
|
@ -160,12 +150,4 @@ function put_un_in_cookie2(){
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="js-slide">
|
||||
<div class="js-main">
|
||||
<div class="jsmodule" id="content-block">
|
||||
{% include "slideshow.html" %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
|
@ -140,10 +140,6 @@ def home(request, landing=False):
|
|||
return HttpResponseRedirect(reverse('supporter',
|
||||
args=[request.user.username]))
|
||||
|
||||
worklist = slideshow(12)
|
||||
works = worklist[:6]
|
||||
works2 = worklist[6:12]
|
||||
|
||||
"""
|
||||
get various recent types of site activity
|
||||
"""
|
||||
|
@ -189,7 +185,7 @@ def home(request, landing=False):
|
|||
else:
|
||||
events = latest_actions[:6]
|
||||
|
||||
return render(request, 'home.html', {'suppress_search_box': True, 'works': works, 'works2': works2, 'events': events})
|
||||
return render(request, 'home.html', {'suppress_search_box': True, 'events': events})
|
||||
|
||||
def stub(request):
|
||||
path = request.path[6:] # get rid of /stub/
|
||||
|
|
Loading…
Reference in New Issue