{% extends "example_base.html" %} {% block content %}
{{ _('You are logged in as {username}')|f(username=request.user) }}. {{ _('Log out') }}
{% else %}{{ _('Log in with BrowserID') }}
{% endif %} {# L10n: This is a localizer comment #} {% if request.MOBILE %}{{ _('This is a test view for mobile browsers.') }}
{% else %}{{ _('This is a test view for desktop browsers.') }}
{% endif %}{% trans docs_url='http://playdoh.rtfd.org/' %} Learn you some Playdoh and then go build something awesome. {% endtrans %}
{% trans langs=LANGUAGES.items() %}
Current locale: {{ LANG }}.
Available locales: {{ langs }}.
{% endtrans %}
Some more examples:
{% endblock %} {% block site_js %} {% compress js %} {% endcompress %} {% if not request.user.is_active %} {{ browserid_form.media }} {% endif %} {% endblock %}