{% extends 'aristotle_mdr/base.html' %} {% load aristotle_tags aristotle_glossary_tags static %} {% block extra_block_scripts %} {% endblock %} {% block title %}Glossary{% endblock %} {% block content %}

Glossary

{% for letter,link in terms|glossary_top_links %} {% if link %} {{letter|title}} {% else %} {{letter|title}} {% endif %} {% endfor %}
{% for term,letter in terms|with_letter %}
{% ifchanged letter %} {{letter|title}} {% endifchanged %} {{ term.name }} {% with c=term.alternate_definitions.count %} {% if c > 0 %} - {{ c }} additional meaning{{ c|pluralize }} {% endif %} {% endwith %}
{{ term.definition | striptags |truncatewords:50 }}
{% endfor %}
{% endblock %}