Sha256: 5ff84ea8ba77615601581de369af7e5fc374fa899fe938e6433731bb86ef567d

Contents?: true

Size: 1.75 KB

Versions: 28

Compression:

Stored size: 1.75 KB

Contents

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

.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, :fraud)

  .view__container.view__container--narrow
    .section
      .grid.grid--center
        .grid__cell.grid__cell--25
          %h2= t('workarea.admin.orders.fraud.title')
        .grid__cell.grid__cell--33-at-medium
          - if @order.fraud_decision.blank?
            %p= t('workarea.admin.orders.fraud.no_fraud_decision_available')
          - else
            %table.data-pairs
              %tbody
                %tr
                  %th
                    %span.data-pairs__name= t('workarea.admin.orders.fraud.decision')
                  %td= @order.fraud_decision.decision.to_s.titleize || '-'
                %tr
                  %th
                    %span.data-pairs__name= t('workarea.admin.orders.fraud.message')
                  %td= @order.fraud_decision.message.presence || '-'
                %tr
                  %th
                    %span.data-pairs__name= t('workarea.admin.orders.fraud.response')
                  %td
                    = @order.fraud_decision.response || '-'
                    = link_to '#response-help', data: { tooltip: '' } do
                      = inline_svg('workarea/admin/icons/help.svg', class: 'svg-icon svg-icon--small svg-icon--blue', title: t('workarea.admin.orders.fraud.more_link'))
                    #response-help.tooltip-content
                      %p= t('workarea.admin.orders.fraud.response_tooltip')

Version data entries

28 entries across 28 versions & 1 rubygems

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