Sha256: 722bfe88c62e692220d169d01839e4027d2f17da3e152873ac15b16f68b9e645

Contents?: true

Size: 765 Bytes

Versions: 3

Compression:

Stored size: 765 Bytes

Contents

- if order.decision.present?
  .grid__cell
    .card{ class: card_classes(:forter, local_assigns[:active]) }
      = link_to forter_order_path(order), class: 'card__header' do
        %span.card__header-text= t('workarea.admin.orders.cards.forter.title')
        = inline_svg 'workarea/admin/icons/link.svg', class: 'card__icon'

      - if local_assigns[:active].blank?
        .card__body
          %ul.list-reset
            %li
              %strong= t('workarea.admin.orders.cards.forter.decision')
              = order.decision.response&.action

            - if order.decision.response&.reason_code.present?
              %li
                %strong= t('workarea.admin.orders.cards.forter.reason_code')
                = order.decision.response.reason_code

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
workarea-forter-1.2.4 app/views/workarea/admin/orders/_forter.html.haml
workarea-forter-1.2.3 app/views/workarea/admin/orders/_forter.html.haml
workarea-forter-1.2.2 app/views/workarea/admin/orders/_forter.html.haml