mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-06 01:35:22 +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 %}
|
||||
{% if key == "status" %}
|
||||
<tr>
|
||||
<td>{{ value.1|default:"None" }}</td>
|
||||
<td>{{ log_entry.actor|default:"None" }}</td>
|
||||
<td>{{ log_entry.timestamp|default:"None" }}</td>
|
||||
<td>{{ value.1|default:"None" }}
|
||||
{% for rk, rv in log_entry.changes_display_dict.items %}
|
||||
{% 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>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue