Sha256: 36a6595f3e56e581f3d8f682a3063736668256de9889c3c726fad6997c704974

Contents?: true

Size: 1.21 KB

Versions: 28

Compression:

Stored size: 1.21 KB

Contents

- @page_title = t('workarea.admin.orders.timeline.title', name: @order.name)

.view
  .view__header
    .grid.grid--middle.grid--right
      .grid__cell.grid__cell--50
        .view__heading
          = link_to_index_for(@order)
          %h1= link_to @order.name, url_for(@order)
      .grid__cell.grid__cell--25
        = render_aux_navigation_for(@order)

  .view__container
    = render_cards_for(@order, :timeline)

  .view__container.view__container--narrow
    - if @order.timeline.empty?
      %p.heading--2.align-center= t('workarea.admin.timeline.no_activity')
    - else
      .grid.grid--center
        .grid__cell.grid__cell--80-at-medium
          .grid
            - @order.timeline.by_day.each do |day, entries|
              .activity-group
                .grid__cell.grid__cell--20
                  .date-marker
                    -  if day == Date.today
                      .date-marker__annotation= t('workarea.admin.timeline.today')
                    .date-marker__month= local_time(day, format: '%b')
                    .date-marker__day= local_time(day, format: '%e')
                .grid__cell.grid__cell--80
                  - entries.each do |entry|
                    = render_order_timeline_entry(entry)

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
workarea-admin-3.5.27 app/views/workarea/admin/orders/timeline.html.haml
workarea-admin-3.5.26 app/views/workarea/admin/orders/timeline.html.haml
workarea-admin-3.5.25 app/views/workarea/admin/orders/timeline.html.haml
workarea-admin-3.5.23 app/views/workarea/admin/orders/timeline.html.haml
workarea-admin-3.5.22 app/views/workarea/admin/orders/timeline.html.haml
workarea-admin-3.5.21 app/views/workarea/admin/orders/timeline.html.haml
workarea-admin-3.5.20 app/views/workarea/admin/orders/timeline.html.haml
workarea-admin-3.5.19 app/views/workarea/admin/orders/timeline.html.haml
workarea-admin-3.5.18 app/views/workarea/admin/orders/timeline.html.haml
workarea-admin-3.5.17 app/views/workarea/admin/orders/timeline.html.haml
workarea-admin-3.5.16 app/views/workarea/admin/orders/timeline.html.haml
workarea-admin-3.5.15 app/views/workarea/admin/orders/timeline.html.haml
workarea-admin-3.5.14 app/views/workarea/admin/orders/timeline.html.haml
workarea-admin-3.5.13 app/views/workarea/admin/orders/timeline.html.haml
workarea-admin-3.5.12 app/views/workarea/admin/orders/timeline.html.haml
workarea-admin-3.5.11 app/views/workarea/admin/orders/timeline.html.haml
workarea-admin-3.5.10 app/views/workarea/admin/orders/timeline.html.haml
workarea-admin-3.5.9 app/views/workarea/admin/orders/timeline.html.haml
workarea-admin-3.5.8 app/views/workarea/admin/orders/timeline.html.haml
workarea-admin-3.5.7 app/views/workarea/admin/orders/timeline.html.haml