Skip to content

Commit

Permalink
Quick workaround custom DRC logo
Browse files Browse the repository at this point in the history
  • Loading branch information
norkans7 committed Feb 28, 2024
1 parent f2eb7d2 commit e7eeb34
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 6 deletions.
Binary file added static/img/logos/UREPORT/U-Report_LOGO_DRC.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 8 additions & 4 deletions templates/base_admin_dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,11 @@
<div style="justify-content: start;" class="level-item square-logo">
<div style="width:360px">
{% if org|config:"has_new_brand" %}
{% if 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 %}
{% 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 %}
Expand Down Expand Up @@ -344,7 +346,9 @@
<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" %}
{% if org.language != "ar" and org.language != "ru" %}
{% 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">
Expand Down
8 changes: 6 additions & 2 deletions templates/public_base.html
Original file line number Diff line number Diff line change
Expand Up @@ -647,7 +647,9 @@
<div class="md:flex max-w-page mx-auto justify-around mt-5 mb-12 hidden border-b pb-6">
<a href="{% url 'public.index' %}" class="flex-initial text-center">
<div style="width:500px">
{% if org.language != "ar" and org.language != "ru" %}
{% 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">
Expand Down Expand Up @@ -713,7 +715,9 @@
<a href="{% url 'public.index' %}" class="flex-initial text-center">
<div style="width:180px">
{% if org|config:"has_new_brand" %}
{% if org.language != "ar" and org.language != "ru" %}
{% 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">
Expand Down

0 comments on commit e7eeb34

Please sign in to comment.