Sha256: 24d62c4560b33ca3c52f44d25bc52c98de0b9643eb3c0a1a02326f5672cbc584

Contents?: true

Size: 1.24 KB

Versions: 34

Compression:

Stored size: 1.24 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.activity-group--bordered
                .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

34 entries across 34 versions & 1 rubygems

Version Path
workarea-admin-3.4.45 app/views/workarea/admin/orders/timeline.html.haml
workarea-admin-3.4.44 app/views/workarea/admin/orders/timeline.html.haml
workarea-admin-3.4.43 app/views/workarea/admin/orders/timeline.html.haml
workarea-admin-3.4.42 app/views/workarea/admin/orders/timeline.html.haml
workarea-admin-3.4.41 app/views/workarea/admin/orders/timeline.html.haml
workarea-admin-3.4.40 app/views/workarea/admin/orders/timeline.html.haml
workarea-admin-3.4.39 app/views/workarea/admin/orders/timeline.html.haml
workarea-admin-3.4.38 app/views/workarea/admin/orders/timeline.html.haml
workarea-admin-3.4.37 app/views/workarea/admin/orders/timeline.html.haml
workarea-admin-3.4.36 app/views/workarea/admin/orders/timeline.html.haml
workarea-admin-3.4.35 app/views/workarea/admin/orders/timeline.html.haml
workarea-admin-3.4.34 app/views/workarea/admin/orders/timeline.html.haml
workarea-admin-3.4.33 app/views/workarea/admin/orders/timeline.html.haml
workarea-admin-3.4.32 app/views/workarea/admin/orders/timeline.html.haml
workarea-admin-3.4.31 app/views/workarea/admin/orders/timeline.html.haml
workarea-admin-3.4.30 app/views/workarea/admin/orders/timeline.html.haml
workarea-admin-3.4.29 app/views/workarea/admin/orders/timeline.html.haml
workarea-admin-3.4.28 app/views/workarea/admin/orders/timeline.html.haml
workarea-admin-3.4.27 app/views/workarea/admin/orders/timeline.html.haml
workarea-admin-3.4.26 app/views/workarea/admin/orders/timeline.html.haml