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.6 app/views/workarea/admin/orders/fraud.html.haml
workarea-admin-3.5.5 app/views/workarea/admin/orders/fraud.html.haml
workarea-admin-3.5.4 app/views/workarea/admin/orders/fraud.html.haml
workarea-admin-3.5.3 app/views/workarea/admin/orders/fraud.html.haml
workarea-admin-3.5.2 app/views/workarea/admin/orders/fraud.html.haml
workarea-admin-3.5.1 app/views/workarea/admin/orders/fraud.html.haml
workarea-admin-3.5.0 app/views/workarea/admin/orders/fraud.html.haml
workarea-admin-3.5.0.beta.1 app/views/workarea/admin/orders/fraud.html.haml