Skip to content

Commit

Permalink
Fix DRC logo
Browse files Browse the repository at this point in the history
  • Loading branch information
norkans7 committed Feb 28, 2024
1 parent fbf13e9 commit 779f4fa
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 31 deletions.
28 changes: 14 additions & 14 deletions templates/base_admin_dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,12 @@
<div style="justify-content: start;" class="level-item square-logo">
<div style="width:360px">
{% if org|config:"has_new_brand" %}
{% if org.subdomain == "drc" %}
<img src="{{ STATIC_URL }}/img/logos/UREPORT/U-Report_Logo_DRC.jpg" alt="{{ org.name }}" class="logo">
{% elif org.language != "ar" and org.language != "ru" %}
<img src="{{ STATIC_URL }}/img/logos/UREPORT/U-Report_Logo_EN.png" alt="{{ org.name }}" class="logo">
{% else %}
<img src="{{ STATIC_URL }}/img/logos/UREPORT/U-Report_Logo_{{ org.language|upper }}.png" alt="{{ org.name }}" class="logo">
{% if org.subdomain == "drc" %}
<img src="{{ STATIC_URL }}img/logos/UREPORT/U-Report_Logo_DRC.jpg" alt="{{ org.name }}" class="logo">
{% elif org.language != "ar" and org.language != "ru" %}
<img src="{{ STATIC_URL }}img/logos/UREPORT/U-Report_Logo_EN.png" alt="{{ org.name }}" class="logo">
{% else %}
<img src="{{ STATIC_URL }}img/logos/UREPORT/U-Report_Logo_{{ org.language|upper }}.png" alt="{{ org.name }}" class="logo">
{% endif %}
{% else %}
{% thumbnail org.get_logo "x180" format="PNG" as im %}
Expand Down Expand Up @@ -322,7 +322,7 @@
<a href="{% url 'public.index' %}" class="md:block flex-1 text-center mb-2 hidden">
{% if org|config:"has_new_brand" %}
<div style="max-width:220px">
<img src="{{ STATIC_URL }}/img/logos/UREPORT/U-Report_Logo_footer.png" alt="{{ org.name }}" class="logo">
<img src="{{ STATIC_URL }}img/logos/UREPORT/U-Report_Logo_footer.png" alt="{{ org.name }}" class="logo">
</div>
{% else %}
<div style="max-width:360px">
Expand All @@ -335,9 +335,9 @@
<div class="md:flex justify-center hidden">
<div style="max-width:150px" 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" alt="">
<img src="{{ STATIC_URL }}img/logos/UNICEF/UNICEF_logo_footer_EN.png" class="md:-ml-0 -ml-2" alt="">
{% else %}
<img src="{{ STATIC_URL }}/img/logos/UNICEF/UNICEF_logo_footer_{{ org.language|upper }}.png"
<img src="{{ STATIC_URL }}img/logos/UNICEF/UNICEF_logo_footer_{{ org.language|upper }}.png"
class="md:-ml-0 -ml-2"
alt="">
{% endif %}
Expand All @@ -347,11 +347,11 @@
<div style="width:180px">
{% if org|config:"has_new_brand" %}
{% if org.subdomain == "drc" %}
<img src="{{ STATIC_URL }}/img/logos/UREPORT/U-Report_Logo_DRC.jpg" alt="{{ org.name }}" class="logo">
<img src="{{ STATIC_URL }}img/logos/UREPORT/U-Report_Logo_DRC.jpg" alt="{{ org.name }}" class="logo">
{% elif org.language != "ar" and org.language != "ru" %}
<img src="{{ STATIC_URL }}/img/logos/UREPORT/U-Report_Logo_EN.png" alt="{{ org.name }}" class="logo">
<img src="{{ STATIC_URL }}img/logos/UREPORT/U-Report_Logo_EN.png" alt="{{ org.name }}" class="logo">
{% else %}
<img src="{{ STATIC_URL }}/img/logos/UREPORT/U-Report_Logo_{{ org.language|upper }}.png" alt="{{ org.name }}" class="logo">
<img src="{{ STATIC_URL }}img/logos/UREPORT/U-Report_Logo_{{ org.language|upper }}.png" alt="{{ org.name }}" class="logo">
{% endif %}
{% else %}
{% thumbnail org.get_logo "x180" format="PNG" as im %}
Expand All @@ -362,11 +362,11 @@
<div class="md:hidden flex flex-1 justify-end float-right">
<div style="width:120px" 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"
<img src="{{ STATIC_URL }}img/logos/UNICEF/UNICEF_logo_footer_EN.png"
class="md:-ml-0 -ml-2"
alt="UNICEF logo">
{% else %}
<img src="{{ STATIC_URL }}/img/logos/UNICEF/UNICEF_logo_footer_{{ org.language|upper }}.png"
<img src="{{ STATIC_URL }}img/logos/UNICEF/UNICEF_logo_footer_{{ org.language|upper }}.png"
class="md:-ml-0 -ml-2"
alt="UNICEF logo">
{% endif %}
Expand Down
2 changes: 1 addition & 1 deletion templates/frame.html
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,7 @@
{% endif %}
<script src="{{ STATIC_URL }}js/uikit.js"></script>
<script src="{{ STATIC_URL }}js/uikit-icons.js"></script>
<script src="{{ STATIC_URL }}/js/leaflet.js"></script>
<script src="{{ STATIC_URL }}js/leaflet.js"></script>
<script src="https://code.highcharts.com/highcharts.js"></script>
<script type="text/javascript" src="{{ STATIC_URL }}js/gradientfactory.js"></script>
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
Expand Down
4 changes: 2 additions & 2 deletions templates/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -179,9 +179,9 @@
<div class="w-64">
{% if org|config:"has_new_brand" %}
{% if org.language != "ar" and org.language != "ru" %}
<img src="{{ STATIC_URL }}/img/logos/UREPORT/U-Report_Logo_invert_EN.png" alt="{{ org.name }}" class="logo">
<img src="{{ STATIC_URL }}img/logos/UREPORT/U-Report_Logo_invert_EN.png" alt="{{ org.name }}" class="logo">
{% else %}
<img src="{{ STATIC_URL }}/img/logos/UREPORT/U-Report_Logo_invert_{{ org.language|upper }}.png" alt="{{ org.name }}" class="logo">
<img src="{{ STATIC_URL }}img/logos/UREPORT/U-Report_Logo_invert_{{ org.language|upper }}.png" alt="{{ org.name }}" class="logo">
{% endif %}
{% else %}
<img src="{{ STATIC_URL }}img/u-report-global-logo-white.png" alt="">
Expand Down
28 changes: 14 additions & 14 deletions templates/public_base.html
Original file line number Diff line number Diff line change
Expand Up @@ -425,9 +425,9 @@
<a href="https://ureport.in/" class="hover:bg-gray-900 inline-block border-white p-2">
{% if org|config:"has_new_brand" %}
{% if org.language != "ar" and org.language != "ru" %}
<img src="{{ STATIC_URL }}/img/logos/UREPORT/U-Report_Logo_invert_EN.png" alt="{{ org.name }}" class="logo">
<img src="{{ STATIC_URL }}img/logos/UREPORT/U-Report_Logo_invert_EN.png" alt="{{ org.name }}" class="logo">
{% else %}
<img src="{{ STATIC_URL }}/img/logos/UREPORT/U-Report_Logo_invert_{{ org.language|upper }}.png" alt="{{ org.name }}" class="logo">
<img src="{{ STATIC_URL }}img/logos/UREPORT/U-Report_Logo_invert_{{ org.language|upper }}.png" alt="{{ org.name }}" class="logo">
{% endif %}
{% else %}
<img src="{{ STATIC_URL }}img/u-report-global-logo-white.png" alt="">
Expand Down Expand Up @@ -648,11 +648,11 @@
<a href="{% url 'public.index' %}" class="flex-initial text-center">
<div style="width:500px">
{% if org.subdomain == "drc" %}
<img src="{{ STATIC_URL }}/img/logos/UREPORT/U-Report_Logo_DRC.jpg" alt="{{ org.name }}" class="logo">
<img src="{{ STATIC_URL }}img/logos/UREPORT/U-Report_Logo_DRC.jpg" alt="{{ org.name }}" class="logo">
{% elif org.language != "ar" and org.language != "ru" %}
<img src="{{ STATIC_URL }}/img/logos/UREPORT/U-Report_Logo_EN.png" alt="{{ org.name }}" class="logo">
<img src="{{ STATIC_URL }}img/logos/UREPORT/U-Report_Logo_EN.png" alt="{{ org.name }}" class="logo">
{% else %}
<img src="{{ STATIC_URL }}/img/logos/UREPORT/U-Report_Logo_{{ org.language|upper }}.png" alt="{{ org.name }}" class="logo">
<img src="{{ STATIC_URL }}img/logos/UREPORT/U-Report_Logo_{{ org.language|upper }}.png" alt="{{ org.name }}" class="logo">
{% endif %}
</div>
</a>
Expand Down Expand Up @@ -716,11 +716,11 @@
<div style="width:180px">
{% if org|config:"has_new_brand" %}
{% if org.subdomain == "drc" %}
<img src="{{ STATIC_URL }}/img/logos/UREPORT/U-Report_Logo_DRC.jpg" alt="{{ org.name }}" class="logo">
<img src="{{ STATIC_URL }}img/logos/UREPORT/U-Report_Logo_DRC.jpg" alt="{{ org.name }}" class="logo">
{% elif org.language != "ar" and org.language != "ru" %}
<img src="{{ STATIC_URL }}/img/logos/UREPORT/U-Report_Logo_EN.png" alt="{{ org.name }}" class="logo">
<img src="{{ STATIC_URL }}img/logos/UREPORT/U-Report_Logo_EN.png" alt="{{ org.name }}" class="logo">
{% else %}
<img src="{{ STATIC_URL }}/img/logos/UREPORT/U-Report_Logo_{{ org.language|upper }}.png" alt="{{ org.name }}" class="logo">
<img src="{{ STATIC_URL }}img/logos/UREPORT/U-Report_Logo_{{ org.language|upper }}.png" alt="{{ org.name }}" class="logo">
{% endif %}
{% else %}
{% thumbnail org.get_logo "x180" format="PNG" as im %}
Expand Down Expand Up @@ -821,7 +821,7 @@
<a href="{% url 'public.index' %}" class="md:block flex-1 text-center mb-2 hidden">
{% if org|config:"has_new_brand" %}
<div style="max-width:220px">
<img src="{{ STATIC_URL }}/img/logos/UREPORT/U-Report_Logo_footer.png" alt="{{ org.name }}" class="logo">
<img src="{{ STATIC_URL }}img/logos/UREPORT/U-Report_Logo_footer.png" alt="{{ org.name }}" class="logo">
</div>
{% else %}
<div style="max-width:360px">
Expand All @@ -834,9 +834,9 @@
<div class="md:flex justify-center hidden">
<div style="max-width:150px" 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" alt="">
<img src="{{ STATIC_URL }}img/logos/UNICEF/UNICEF_logo_footer_EN.png" class="md:-ml-0 -ml-2" alt="">
{% else %}
<img src="{{ STATIC_URL }}/img/logos/UNICEF/UNICEF_logo_footer_{{ org.language|upper }}.png"
<img src="{{ STATIC_URL }}img/logos/UNICEF/UNICEF_logo_footer_{{ org.language|upper }}.png"
class="md:-ml-0 -ml-2"
alt="">
{% endif %}
Expand All @@ -845,7 +845,7 @@
<a href="{% url 'public.index' %}" class="md:hidden flex-1 text-center mb-6 inline-flex">
<div style="width:180px">
{% if org|config:"has_new_brand" %}
<img src="{{ STATIC_URL }}/img/logos/UREPORT/U-Report_Logo_footer.png" alt="{{ org.name }}" class="logo">
<img src="{{ STATIC_URL }}img/logos/UREPORT/U-Report_Logo_footer.png" alt="{{ org.name }}" class="logo">
{% else %}
{% thumbnail org.get_logo "x180" format="PNG" as im %}
<img src="{{ im.url }}" alt="{{ org.name }}" class="logo">
Expand All @@ -855,11 +855,11 @@
<div class="md:hidden flex flex-1 justify-end float-right">
<div style="width:120px" 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"
<img src="{{ STATIC_URL }}img/logos/UNICEF/UNICEF_logo_footer_EN.png"
class="md:-ml-0 -ml-2"
alt="UNICEF logo">
{% else %}
<img src="{{ STATIC_URL }}/img/logos/UNICEF/UNICEF_logo_footer_{{ org.language|upper }}.png"
<img src="{{ STATIC_URL }}img/logos/UNICEF/UNICEF_logo_footer_{{ org.language|upper }}.png"
class="md:-ml-0 -ml-2"
alt="UNICEF logo">
{% endif %}
Expand Down

0 comments on commit 779f4fa

Please sign in to comment.