{% load base_filters %} {% if obj %} {% firstof MODULE_DIRECTORIES_LABEL trans 'Directory Listing' %} #{{ obj.id }} {{ obj.headline|truncatewords:5 }} {% if obj.pricing %} {% trans 'for' %} {{ obj.pricing.duration_display }} {% endif%} {% else %} {% firstof MODULE_DIRECTORIES_LABEL trans 'Directory' %} {% trans 'information not available' %}. {% endif%} {{ invoice.total|format_currency }}