{# vim: set ts=2 et sts=2 sw=2: #} {% from "search/includes/macros.html" import search_engine with context %} {% macro search_box(settings, id=False, prefix=None, target=None, placeholder=None, params=None) %} {% if placeholder is none %} {# L10n: If your language is particularly verbose, just localize this as 'Search'. #} {% set placeholder = _('Search Firefox Help') %} {% endif %} {% endmacro %} {% macro aux_nav(user) %} {% if not settings.READ_ONLY %} {% if user.is_authenticated() %}
  • {{ user }}
  • {{ _('Sign Out') }}
  • {{ _('Inbox') }} {% if unread_message_count > 0 %} {{ unread_message_count }} {% endif %}
  • {% else %}
  • {% trans login_url=url('users.login'), register_url=url('users.register') %} Want to contribute? Sign In or Register {% endtrans %}
  • {% endif %} {% endif %} {% endmacro %} {% macro content_editor(field) %}
    {{ field|safe }}
    {% endmacro %} {% macro list_view_item(url, label, class=None, icon_url=None) %}
  • {% if icon_url %} {% endif %} {{ label }}
  • {% endmacro %}