{% extends "madga/studio/base.html" %} {% load i18n humanize madga_studio_tags %} {% block breadcrumbs %}{% trans "Inbox" %}{% endblock %} {% block content %}
{% blocktrans count n=unread_count %}{{ n }} unread submission.{% plural %}{{ n }} unread submissions.{% endblocktrans %}
| {% trans "From" %} | {% trans "Subject / Excerpt" %} | {% trans "Form" %} | {% trans "When" %} | ||
|---|---|---|---|---|---|
| {% if not s.is_read %}{% endif %} | {% firstof s.data.email s.data.name "(anonymous)" %} | {% firstof s.data.message s.data.subject "" as excerpt %}{{ excerpt|truncatechars:80 }} | {{ s.form_key|default:"contact" }} |
{{ s.created_at|naturaltime }} |
{% trans "Open" %}{% trans "Submission" %}
{% for k, v in s.data.items %}
{{ k }}
{{ v }}
{% endfor %}
{% if s.source_url %}{{ s.source_url }}
{% endif %} {% if s.ip %}IP: {{ s.ip }} {% endif %} {{ s.created_at }} |
| {% studio_empty title=_("Nothing in the inbox") message=_("Submissions to your ContactFormBlock land here.") %} | |||||