{% extends "email/basemail.html" %} {% load i18n %} {% block subject %} {% with instance.owner.title as owner %} {% with instance.model_name as content_type%} {% blocktrans %}{{ owner }} published {{ content_type }}.{% endblocktrans %} {% endwith %} {% endwith %} {% endblock %} {% block content %} {% with instance.owner.title as owner %} {% with instance.model_name as content_type %} {% with instance.title_or_description as title_or_description %} {% with instance.get_absolute_url as absolute_url %}
{% blocktrans %}Hi,{% endblocktrans %}
{% blocktrans %} {{ owner }} published a new {{ content_type }}: {% endblocktrans %}
{{ title_or_description }}{% blocktrans %} To view this content and comment it, visit {{ site_name }}. {% endblocktrans %}
{% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endblock %}