File tree Expand file tree Collapse file tree 3 files changed +10
-6
lines changed Expand file tree Collapse file tree 3 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -76,12 +76,7 @@ <h2 class="widget-title">Looking for a specific release?</h2>
76
76
77
77
< div class ="row ">
78
78
< div class ="sidebar-widget download-widget ">
79
- {% box 'download-sponsors' %}
80
- {% comment %}
81
- Remove the comment block to replace the content box by
82
- the new sponsor logo placement
83
79
{% list_sponsors 'download' %}
84
- {% endcomment %}
85
80
</ div >
86
81
</ div >
87
82
Original file line number Diff line number Diff line change 1
1
{% extends "base.html" %}
2
2
{% load boxes %}
3
+ {% load sponsors %}
3
4
4
5
{% block body_attributes %}class="jobs"{% endblock %}
5
6
@@ -85,7 +86,7 @@ <h1 class="call-to-action">{% block header_action %}{{ jobs_count }} jobs on the
85
86
</ div >
86
87
87
88
< div class ="sidebar-widget ">
88
- {% box 'jobs-sponsors ' %}
89
+ {% list_sponsors 'jobs' %}
89
90
</ div >
90
91
91
92
{% block right_sidebar_footer %}{% endblock %}
Original file line number Diff line number Diff line change @@ -9,6 +9,14 @@ <h2 class="widget-title">Sponsors</h2>
9
9
{% endthumbnail %}
10
10
{% endfor %}
11
11
12
+ {% elif logo_place == "jobs" %}
13
+ < h3 class ="widget-title "> Job Board Sponsors</ h3 >
14
+ {% for sponsorship in sponsorships %}
15
+ {% thumbnail sponsorship.sponsor.web_logo "x100" format="PNG" quality=100 as im %}
16
+ < img src ="{{ im.url }} " alt ="{{ sponsorship.sponsor.name }} logo " height ="100px ">
17
+ {% endthumbnail %}
18
+ {% endfor %}
19
+
12
20
{% elif logo_place == "sponsors" %}
13
21
14
22
{% for package, placement_info in sponsorships_by_package.items %}
You can’t perform that action at this time.
0 commit comments