render basic approval action for ccpo logs on request review screen
This commit is contained in:
parent
3e38b5ff1a
commit
738cbb1c65
@ -48,6 +48,8 @@ class RequestStatusEvent(Base):
|
||||
def log_name(self):
|
||||
if self.new_status == RequestStatus.CHANGES_REQUESTED:
|
||||
return "Denied"
|
||||
if self.new_status == RequestStatus.CHANGES_REQUESTED_TO_FINVER:
|
||||
return "Denied"
|
||||
elif self.new_status == RequestStatus.PENDING_FINANCIAL_VERIFICATION:
|
||||
return "Accepted"
|
||||
else:
|
||||
|
@ -166,7 +166,8 @@
|
||||
<li>
|
||||
<article class='approval-log__log-item'>
|
||||
<div>
|
||||
<h3 class='approval-log__log-item__header'>{{ review.log_name }} by {{ review.full_name_reviewer }}</h3>
|
||||
{{ review.log_name }}
|
||||
<h3 class='approval-log__log-item__header'>{{ review.status.log_name }} by {{ review.full_name_reviewer }}</h3>
|
||||
{% if review.comment %}
|
||||
<p>{{ review.comment }}</p>
|
||||
{% endif %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user