Skip to content

Commit c395553

Browse files
committed
remove ngo aid map
only show aid tracker links if there aren't many
1 parent 0197893 commit c395553

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

ngo_explorer/templates/_data_other_resources.html.j2

+11-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
</div>
1010
</div>
1111

12-
<div class="cf">
12+
{#<div class="cf">
1313
<div class="db fl w-30-l w-100 mh0 mv2 tr-l pr3 b">
1414
<a href="https://ngoaidmap.org/" target="_blank" class="link b dark-gray">{% trans %}NGO Aid Map{% endtrans %}</a>
1515
</div>
@@ -30,7 +30,7 @@
3030
{% endfor %}
3131
</ul>
3232
</div>
33-
</div>
33+
</div>#}
3434

3535
<div class="cf">
3636
<div class="db fl w-30-l w-100 mh0 mv2 tr-l pr3 b">
@@ -42,6 +42,7 @@
4242
(DFID), other UK government departments and partners.{% endtrans %}
4343
</p>
4444
<ul class="list pa0 ma0">
45+
{% if area.countries|length < 50 %}
4546
{% for c in area["countries"] %}
4647
<li class="di mr2 pb0">
4748
<a href="https://devtracker.dfid.gov.uk/countries/{{ c.iso2 }}/" target="_blank"
@@ -50,6 +51,14 @@
5051
</a>
5152
</li>
5253
{% endfor %}
54+
{% else %}
55+
<li class="di mr2 pb0">
56+
<a href="https://devtracker.dfid.gov.uk/" target="_blank"
57+
class="link blue mw5 nowrap dib overflow-hidden truncate external-link">
58+
DfID Dev Tracker
59+
</a>
60+
</li>
61+
{% endif %}
5362
</ul>
5463
</div>
5564
</div>

0 commit comments

Comments
 (0)