# HG changeset patch # User Sarun Intaralawan # Date 2014-08-19 10:10:29 # Node ID ceb099688df799424c87e44e741e736c92a5adaf # Parent f9a07e801f84ba4ed7af50e127557a932b0d0323 Update rails version to '3.2.19' to compensate with issue stated by nattee on pull request #4 of cafe-grader-judge-scripts, add view of list_all action diff --git a/app/views/messages/list_all.html.haml b/app/views/messages/list_all.html.haml new file mode 100644 --- /dev/null +++ b/app/views/messages/list_all.html.haml @@ -0,0 +1,13 @@ += user_title_bar(@user) + +%h1 Console: all messages + += link_to '[active messages]', :action => 'list_all' + +%table + %tr + %th From + %th When + %th Message + %th + = render :partial => "short_message", :collection => @messages