{% set prod_url = url('products.product', slug=product.slug) %} {% if product.slug == 'firefox' %} {{ download_firefox() }} {% endif %}
{% if subtopic %}

{{ pgettext('DB: products.Topic.title', topic.title) }}

{{ pgettext('DB: products.Topic.title', subtopic.title) }}

{% else %}

{{ pgettext('DB: products.Topic.title', topic.title) }}

{% endif %} {# Show the description if it is different than the title. Otherwise, don't bother. #} {% if (subtopic and subtopic.title != subtopic.description) or (not subtopic and topic.title != topic.description) %}

{% if subtopic %} {{ pgettext('DB: products.Topic.description', subtopic.description) }} {% else %} {{ pgettext('DB: products.Topic.description', topic.description) }} {% endif %}

{% endif %}
{% if topic.slug == "Focus-ios" %} {{ sumo_banner( id="focus-ios-beta-banner", text=_('Experience new functionality and updates by helping us test the Beta and Nightly versions of Firefox Focus for iOS.'), button_text=_('Get started'), button_link="https://testflight.apple.com/join/dH8lkFZi", ) }} {% elif topic.slug == "firefox-focus-android" %} {{ sumo_banner( id="focus-android-update-banner", text=_('Update to the latest version of Firefox Focus for Android to receive the latest features, enhancements and bug fixes. Firefox Focus is available for free in the Google Play store.'), button_text=_('Download now'), button_link="https://play.google.com/store/apps/details?id=org.mozilla.focus") }} {% endif %} {{ topic_tabs(topics[:10], subtopics, product, topic, subtopic) }}