aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/admin_general/timeline.rhtml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/admin_general/timeline.rhtml')
-rw-r--r--app/views/admin_general/timeline.rhtml2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/admin_general/timeline.rhtml b/app/views/admin_general/timeline.rhtml
index 25e871232..21e4a1637 100644
--- a/app/views/admin_general/timeline.rhtml
+++ b/app/views/admin_general/timeline.rhtml
@@ -79,6 +79,8 @@
had a follow up message sent to <%=h event.info_request.public_body.name %>.
<% elsif event.event_type == 'comment' %>
had an annotation posted by <%=h event.comment.user.name %>.
+ <% elsif event.event_type == 'status_update' %>
+ had its status updated by <%=h User.find(event.params[:user_id]).name %> from '<%= h event.params[:old_described_state] %>' to '<%= h event.params[:described_state] %>'.
<% else %>
had '<%=event.event_type%>' done to it, parameters <%=h event.params_yaml%>.
<% end %>