Skip to content

Commit

Permalink
Use the UNICEF logo with signature in the footer
Browse files Browse the repository at this point in the history
  • Loading branch information
norkans7 committed Jan 10, 2024
1 parent 2699720 commit 0ba5925
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 44 deletions.
36 changes: 14 additions & 22 deletions templates/base_admin_dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -322,17 +322,13 @@
</div>
</a>
<div class="md:flex justify-center hidden">
{% if org|config:"has_footer_unicef_logo" %}
<div style="max-width:360px" class="md:block block">
{% if org.language != "ar" and org.language != "ru" %}
<img src="{{ STATIC_URL }}/img/UNICEF_footer_Logo_black_en.png"
class="md:-ml-0 -ml-2">
{% else %}
<img src="{{ STATIC_URL }}/img/UNICEF_footer_Logo_black_{{ org.language }}.png"
class="md:-ml-0 -ml-2">
{% endif %}
</div>
{% endif %}
<div style="max-width:360px" class="md:block block">
{% if org.language != "ar" and org.language != "ru" and org.language != "ch" and org.language != "fr" %}
<img src="{{ STATIC_URL }}/img/logos/UNICEF/UNICEF_logo_footer_EN.png" class="md:-ml-0 -ml-2">
{% else %}
<img src="{{ STATIC_URL }}/img/logos/UNICEF/UNICEF_logo_footer_{{ org.language }}.png" class="md:-ml-0 -ml-2">
{% endif %}
</div>
</div>
<a href="{% url 'public.index' %}"
class="md:hidden flex-1 text-center mb-6 inline-flex">
Expand All @@ -342,17 +338,13 @@
{% endthumbnail %}
</div>
<div class="md:hidden flex flex-1 justify-end float-right">
{% if org|config:"has_footer_unicef_logo" %}
<div style="width:180px" class="md:block block">
{% if org.language != "ar" and org.language != "ru" %}
<img src="{{ STATIC_URL }}/img/UNICEF_footer_Logo_black_en.png"
class="-ml-2">
{% else %}
<img src="{{ STATIC_URL }}/img/UNICEF_footer_Logo_black_{{ org.language }}.png"
class="-ml-2">
{% endif %}
</div>
{% endif %}
<div style="width:180px" class="md:block block">
{% if org.language != "ar" and org.language != "ru" and org.language != "ch" and org.language != "fr" %}
<img src="{{ STATIC_URL }}/img/logos/UNICEF/UNICEF_logo_footer_EN.png" class="md:-ml-0 -ml-2">
{% else %}
<img src="{{ STATIC_URL }}/img/logos/UNICEF/UNICEF_logo_footer_{{ org.language }}.png" class="md:-ml-0 -ml-2">
{% endif %}
</div>
</div>
</a>
<div class="md:justify-end flex-1 flex">
Expand Down
36 changes: 14 additions & 22 deletions templates/public_base.html
Original file line number Diff line number Diff line change
Expand Up @@ -730,17 +730,13 @@
</div>
</a>
<div class="md:flex justify-center hidden">
{% if org|config:"has_footer_unicef_logo" %}
<div style="max-width:360px" class="md:block block">
{% if org.language != "ar" and org.language != "ru" %}
<img src="{{ STATIC_URL }}img/UNICEF_footer_Logo_black_en.png"
class="md:-ml-0 -ml-2">
{% else %}
<img src="{{ STATIC_URL }}img/UNICEF_footer_Logo_black_{{ org.language }}.png"
class="md:-ml-0 -ml-2">
{% endif %}
</div>
{% endif %}
<div style="max-width:360px" class="md:block block">
{% if org.language != "ar" and org.language != "ru" and org.language != "ch" and org.language != "fr" %}
<img src="{{ STATIC_URL }}/img/logos/UNICEF/UNICEF_logo_footer_EN.png" class="md:-ml-0 -ml-2">
{% else %}
<img src="{{ STATIC_URL }}/img/logos/UNICEF/UNICEF_logo_footer_{{ org.language }}.png" class="md:-ml-0 -ml-2">
{% endif %}
</div>
</div>
<a href="{% url 'public.index' %}"
class="md:hidden flex-1 text-center mb-6 inline-flex">
Expand All @@ -750,17 +746,13 @@
{% endthumbnail %}
</div>
<div class="md:hidden flex flex-1 justify-end float-right">
{% if org|config:"has_footer_unicef_logo" %}
<div style="width:180px" class="md:block block">
{% if org.language != "ar" and org.language != "ru" %}
<img src="{{ STATIC_URL }}img/UNICEF_footer_Logo_black_en.png"
class="-ml-2">
{% else %}
<img src="{{ STATIC_URL }}img/UNICEF_footer_Logo_black_{{ org.language }}.png"
class="-ml-2">
{% endif %}
</div>
{% endif %}
<div style="width:180px" class="md:block block">
{% if org.language != "ar" and org.language != "ru" and org.language != "ch" and org.language != "fr" %}
<img src="{{ STATIC_URL }}/img/logos/UNICEF/UNICEF_logo_footer_EN.png" class="md:-ml-0 -ml-2">
{% else %}
<img src="{{ STATIC_URL }}/img/logos/UNICEF/UNICEF_logo_footer_{{ org.language }}.png" class="md:-ml-0 -ml-2">
{% endif %}
</div>
</div>
</a>
<div class="md:justify-end flex-1 flex">
Expand Down

0 comments on commit 0ba5925

Please sign in to comment.