Skip to content

Commit

Permalink
hide personal stories link for eu site
Browse files Browse the repository at this point in the history
  • Loading branch information
dantheta committed Oct 24, 2021
1 parent 696b925 commit cfb7e3e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions BlockedFrontend/templates/chunks.part.html
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ <h3>Spread the word</h3>


{% macro main_menu() %}
{# TODO: move to CMS #}}
<a class="{{ 'active' if request.path == '/' else ''}}" href="/">Home</a>
{% if config.MODULE_CATEGORY %}
<a class="{{ 'active' if request.path.startswith( ('/blocked-sites','/site','/check','/unblock','/thanks')) else ''}}" href="/sites">Blocked Sites</a>
Expand All @@ -84,7 +85,9 @@ <h3>Spread the word</h3>
{{ menu_link("Reported Sites", '/reported-sites') }}
{% endif %}
{# menu_link("Court Order Blocks", '/legal-blocks') #}
{% if config.SITE_THEME != 'blocked-eu' %}
{{ menu_link("Your Stories", '/personal-stories') }}
{% endif %}

{{ menu_link_eq("Statistics", '/stats') }}
{{ menu_link("About", '/about') }}
Expand Down

0 comments on commit cfb7e3e

Please sign in to comment.