mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-19 16:04:38 +02:00
add rejection reason in template
This commit is contained in:
parent
102ae43310
commit
99e6416695
1 changed files with 12 additions and 3 deletions
|
@ -86,9 +86,18 @@ This is using a custom implementation fieldset.html (see admin/fieldset.html)
|
||||||
{% for key, value in log_entry.changes_display_dict.items %}
|
{% for key, value in log_entry.changes_display_dict.items %}
|
||||||
{% if key == "status" %}
|
{% if key == "status" %}
|
||||||
<tr>
|
<tr>
|
||||||
<td>{{ value.1|default:"None" }}</td>
|
<td>{{ value.1|default:"None" }}
|
||||||
<td>{{ log_entry.actor|default:"None" }}</td>
|
{% for rk, rv in log_entry.changes_display_dict.items %}
|
||||||
<td>{{ log_entry.timestamp|default:"None" }}</td>
|
{% if rk == "rejection reason" %}
|
||||||
|
- {{ rv.1|default:"None" }}
|
||||||
|
{% endif %}
|
||||||
|
{% endfor %}
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
{{ log_entry.actor|default:"None" }}
|
||||||
|
|
||||||
|
</td>
|
||||||
|
<td>{{ log_entry.timestamp|date:"Y-m-d H:i:s" }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue