Skip to content

Commit

Permalink
Hide name for global site
Browse files Browse the repository at this point in the history
  • Loading branch information
norkans7 committed Jan 30, 2024
1 parent 43cc0ad commit bb71ac9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions templates/public_base.html
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@
<a href="{% url 'public.opinions' %}" class="hover:text-gray-600 block font-bold">{% trans "Opinions" %}</a>
<a href="{% url 'public.stories' %}" class="hover:text-gray-600 block mt-4 font-bold">{% trans "Stories" %}</a>
{% if org|config:"has_new_brand" %}
{% if org|config:"is_global" %}
{% if org|config:"is_global" and org.subdomain != "" %}
<a href="https://www.voicesofyouth.org/" class="hover:text-gray-600 block mt-4 font-bold">{% trans "Co-Create" %}</a>
{% endif %}
{% endif %}
Expand Down Expand Up @@ -644,9 +644,11 @@
<img src="{{ STATIC_URL }}/img/logos/UREPORT/U-Report_Logo.png" alt="{{ org.name }}" class="logo">
</div>
</a>
{% if not org|config:"is_global" %}
<div class="flex-1 font-bold text-2xl mt-16" style="font-family:'Noto Sans', sans-serif;">
<a href="{% url 'public.index' %}" class="flex-initial text-center">{{ org.name }}</a>
</div>
{% endif %}
<div class="md:flex flex-1 mt-8">
<div class="flex-1 text-center font-bold text-xl flex-center-y">
<div>
Expand All @@ -660,7 +662,7 @@
class="hover:text-gray-750 hover:border-dark1-v2024 pb-2 border-b-2 border-black">{% trans "Stories" %}</a>
</div>
</div>
{% if org|config:"is_global" %}
{% if org|config:"is_global" and org.subdomain != "" %}
<div class="flex-1 text-center font-bold text-xl flex-center-y">
<div>
<a href="https://www.voicesofyouth.org/"
Expand Down

0 comments on commit bb71ac9

Please sign in to comment.