File tree Expand file tree Collapse file tree 2 files changed +2
-27
lines changed
perftools/management/commands Expand file tree Collapse file tree 2 files changed +2
-27
lines changed Original file line number Diff line number Diff line change @@ -329,6 +329,8 @@ def create_results_cache():
329
329
print (f"- executing { keyword } " )
330
330
data = build_stat_results (keyword )
331
331
print ("- creating" )
332
+ if 'hackathons' in data :
333
+ del data ['hackathons' ]
332
334
items .append (JSONStore (
333
335
view = view ,
334
336
key = keyword ,
Original file line number Diff line number Diff line change @@ -286,33 +286,6 @@ <h4 class="m-1 p-1">{{kudos_leaderboard.0}}</h4>
286
286
</ div >
287
287
288
288
289
- < div class ="content-block content-block--grey ">
290
- < div class ="container " >
291
- < h2 class ="content-block__title "> {{hackathons | length }} {% trans "Virtual Hackathons" %} worth ${{hackathon_total|floatformat:0|intcomma}}.</ h2 >
292
-
293
- < div class ="hackathon-breakdown ">
294
- {% for hackathon in hackathons %}
295
- < div class ="{% if forloop.counter > 7 %}hidden{%endif%} " >
296
- {% if hackathon.1.logo %}
297
- < img data-src ="{{hackathon.1.logo}} "/>
298
- {%else %}
299
- < img data-src ="/dynamic/avatar/gitcoinbot "/>
300
- {%endif %}
301
- < h4 > {{hackathon.0.name}}</ h4 >
302
- {% if hackathon.1.num_bounties and hackathon.1.total_volume > 1 %}
303
- < p > {{hackathon.1.num_bounties}} Bounties</ p >
304
- < p > ${{hackathon.1.total_volume|floatformat:0|intcomma}} In Prizes</ p >
305
- {% endif %}
306
- < p > {{hackathon.1.range}}</ p >
307
- < a href ="{% url 'hackathon' hackathon.0.slug %} "> View Prize Explorer</ a >
308
- </ div >
309
- {% endfor %}
310
- < h4 >
311
- < a class ="btn btn-primary view_more " role ="button " href ="# "> {% trans "See more" %}</ a >
312
- </ div >
313
- </ div >
314
- </ div >
315
-
316
289
317
290
< div class ="row mt-5 pb-5 text-center ">
318
291
< div class ="col ">
You can’t perform that action at this time.
0 commit comments