{% extends 'base.html' %} {% block title %} - {% trans %}Neahttadigisánit{% endtrans %} debug info {% endblock %} {% block meta_title %} {% endblock %} {% block extra_js %} {% endblock %} {# TODO: http://getbootstrap.com/2.3.2/javascript.html#collapse or http://getbootstrap.com/2.3.2/javascript.html#scrollspy #} {% block content %}

Language-specific rules for {{ short_name }}

Language index

    {% for language, name in config.languages.iteritems() %}
  • {{ language }}
  • {% endfor %}

Template Structure

These are the templates that have been customized for this project. Documentation is encouraged, as some customizations may not be able to be covered by unittests.

To include documentation in a template, define it: {% raw %}{% block template_doc %}{% if TEMPLATE_DOC %}Blah blah blah{% endif %}{% endblock %}{% endraw %}. Note that without the if statement, the docs will appear in the dictionary.

Project-level template customizations

    {% set default_paths = [] %} {% for t in app.lexicon_templates.default_templates.values() %} {% do default_paths.append(t.path) %} {% endfor %} {% for tkey, template in app.lexicon_templates.project_templates.iteritems() %} {% if template.path not in default_paths %}
  • {{ app_short_name }}/{{ tkey }} {% if 'template_doc' in template.blocks %}
    {{- template|render_block(template.blocks['template_doc']) -}}
    {% else %}
    Write some template documentation.
    {% endif %}
  • {% endif %} {% endfor %}
{# comment %} for lang, temps in self.language_templates.iteritems(): print u' %s/' % lang for k, f in temps.iteritems(): if f.path not in [p.path for p in self.project_templates.values()]: print u' + ' + k else: print u' ' + k print {% endcomment #}
{% endblock %}