Sha256: 9b78d09614ef5a88fdb8da05c6191d9fcab6e4cc5f767e58113412ae76121103
Contents?: true
Size: 825 Bytes
Versions: 1
Compression:
Stored size: 825 Bytes
Contents
%h1 Welcome at Rawbotz #main-threes.pure-g .pure-u-1-3.center %a(href="/orders") %i.fa.fa-shopping-cart.huge-icon %br %h3 Last 3 Orders %table.pure-table-horizontal.pure-table - Order.where(state: [Order::STATES.new, Order::STATES.processing, Order::STATES.queued, Order::STATES.ordered]).order("updated_at DESC").first(3).each do |order| %tr %td %a(href="/order/#{order.id}") = order.updated_at.strftime("%Y-%m-%d %H:%M") %td = supplier_link order.supplier %td = order.state .pure-u-1-3.center %a(href="/products") %i.fa.fa-cubes.huge-icon %br %h3 Products -# latest addition? .pure-u-1-3.center %a(href="/suppliers") %i.fa.fa-truck.huge-icon %br %h3 Suppliers
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rawbotz-0.1.4 | lib/rawbotz/views/index.haml |