Display details of user that accepted invitation
This commit is contained in:
parent
c5342cacd4
commit
d368b688d0
@ -112,3 +112,7 @@ class Invitation(Base, TimestampsMixin, AuditableMixin):
|
|||||||
change_set["status"] = [s.name for s in changes["status"]]
|
change_set["status"] = [s.name for s in changes["status"]]
|
||||||
|
|
||||||
return change_set
|
return change_set
|
||||||
|
|
||||||
|
@property
|
||||||
|
def workspace_id(self):
|
||||||
|
return self.workspace_role.workspace_id
|
||||||
|
@ -42,10 +42,9 @@
|
|||||||
<br>
|
<br>
|
||||||
|
|
||||||
{% elif event.event_details and event.resource_type == "invitation" %}
|
{% elif event.event_details and event.resource_type == "invitation" %}
|
||||||
{% set now_pending = event.changed_state.status and event.changed_state.status.1 == "PENDING" %}
|
{% set accepted = event.changed_state.status and event.changed_state.status.1 == "ACCEPTED" %}
|
||||||
{% if now_pending %}
|
{% if accepted %}
|
||||||
now pending
|
accepted by {{ event.event_details.email }} (DOD <code>{{ event.event_details.dod_id }}</code>)
|
||||||
{{ event.changed_state.status.1 }}
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user