{% extends "audit_log/events/_base.html" %}

{% block content %}
  for User <code>{{ event.event_details.updated_user_id }}</code> ({{ event.event_details.updated_user_name }})
  in Portfolio <code>{{ event.portfolio_id }}</code> ({{ event.portfolio.name }})

  {% if event.changed_state.status %}
    from status "{{ event.changed_state.status[0] }}" to "{{ event.changed_state.status[1] }}"
  {% endif %}

  {% if event.changed_state.role %}
    from role {{ event.changed_state.role[0] }} to {{ event.changed_state.role[1] }}
  {% endif %}
{% endblock %}
