Sha256: 45823ce1554ff3663d7dd0900794bd2207f0c2e779adc1794c6e2a955f7c2ac6

Contents?: true

Size: 1.54 KB

Versions: 1

Compression:

Stored size: 1.54 KB

Contents

%h1 Message Dispatch Log

%table
  %tr
    %th Time
    %th Application
    %th Type
    %th Status
    %th Error?
    %th Dispatched Queue
    %th 
    %th
  
  = form_for(Message.new, :action => :index, :method => "get") do |filter|
    %tr
      %td 
        = filter.submit "Filter"
      %td
        = filter.collection_select :application_key, Application.order(:name), :key, :name, :include_blank => true
      %td
        = filter.collection_select :message_type, MessageType.order(:name), :name, :name, :include_blank => true
      %td
        = filter.collection_select :status, MessageRoute.select(:incoming_status).order(:incoming_status), :incoming_status, :incoming_status, :include_blank => true
      %td
        = filter.check_box :is_error
      %td
        = filter.collection_select :dispatch_to, MessageRoute.select(:dispatch_to).order(:dispatch_to), :dispatch_to, :dispatch_to, :include_blank => true
      %td 
        = filter.submit "Filter"


  = content_tag_for(:tr, @messages) do |message| 
    %td 
      = message.created_at 
    %td
      = message.message_type_id.nil? ? message.application_key : link_to(message.message_type.application.name, message.message_type.application)
    %td 
      = message.message_type_id.nil? ? message.message_type_name : link_to(message.message_type_name, message.message_type)
    %td 
      = message.status 
    %td 
      = message.is_error 
    %td 
      = message.dispatch_to 
    %td 
      = link_to 'Details', message 
    %td
      = link_to 'Filter', "?message[message_guid]=#{message.message_guid}"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
eventbus-0.0.20 admin/app/views/messages/index.html.haml