Skip to content

Commit 2fbc170

Browse files
committed
fix: fixes access history ui
1 parent 2b3200f commit 2fbc170

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

templates/EnigmaOps/showAccessHistory.html

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -140,11 +140,14 @@ <h2 class="h5 no-margin-bottom">Access List</h2>
140140
<td>{{ item.requestId }}</td>
141141
<td>{{ item.access_desc }}</td>
142142
<td>{{ item.accessCategory }} details: {{ item.accessMeta | pprint }}</td>
143-
{% if item.approver_1 %}
144-
<td>{{ item.approver_1 }}</td>
145-
{% elif item.approver_2 %}
146-
<td>1: {{ item.approver_1 }}
147-
2: {{ item.approver_2 }}</td>
143+
{% if item.approver_2 %}
144+
<td>
145+
1: {{ item.approver_1 }}
146+
<br>
147+
2: {{ item.approver_2 }}
148+
</td>
149+
{% else %}
150+
<td>{{ item.approver_1 }}</td>
148151
{% endif %}
149152
<td>{{ item.status }}</td>
150153
<td>{{ item.accessReason }}</td>

0 commit comments

Comments
 (0)