-
Notifications
You must be signed in to change notification settings - Fork 2.2k
/
detail.html
40 lines (37 loc) · 1.26 KB
/
detail.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{% extends "customer/baseaccountpage.html" %}
{% load i18n %}
{% block extra_breadcrumbs %}
<li>
<a href="{% url 'customer:notifications-inbox' %}">{% trans 'Notifications inbox' %}</a>
</li>
{% endblock %}
{% block tabcontent %}
<table class="table table-striped table-bordered">
{% if notification.sender %}
<tr>
<th>{% trans 'Sender' %}</th>
<td>{{ notification.sender }}</td>
</tr>
{% endif %}
<tr>
<th>{% trans 'Date sent' %}</th>
<td>{{ notification.date_sent }}</td>
</tr>
{% if notification.body %}
<tr>
<th>{% trans 'Subject' %}</th>
<td>{{ notification.subject|safe }}</td>
</tr>
<tr>
<th>{% trans 'Body' %}</th>
<td>{{ notification.body }}</td>
</tr>
{% else %}
<tr>
<th>{% trans 'Message' %}</th>
<th>{{ notification.subject|safe }}</th>
</tr>
{% endif %}
</table>
<div class="form-group form-actions"><a href="{% url 'customer:notifications-inbox' %}" class="btn btn-default">{% trans 'Return to notifications inbox' %}</a></div>
{% endblock tabcontent %}