Sha256: 3587a41887eef4b8b8fb2fb871b5787250db0058226201d65666afab9f4539a9

Contents?: true

Size: 841 Bytes

Versions: 11

Compression:

Stored size: 841 Bytes

Contents

- classified = classified_wizard.classified

%table.table.table-sm
  %tbody
    %tr
      %th.border-0= classified_label
      %td.border-0

        - if classified&.published?
          = link_to(classified, effective_classifieds.classified_path(classified), target: '_blank')
        - else
          = classified.presence || 'Posting was deleted'

    - if request.path.start_with?('/admin')
      %tr
        %th Submitted by
        %td
          - url = (polymorphic_admin_path(classified_wizard.owner) rescue "/admin/users/#{classified_wizard.owner.to_param}/edit")
          = link_to(classified_wizard.owner, url)
    - else
      %tr
        %th Submitted by
        %td= classified_wizard.owner

    - if classified&.was_submitted?
      %tr
        %th Status
        %td
          %span.badge.badge-secondary= classified.status

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
effective_classifieds-0.7.0 app/views/effective/classified_wizards/_summary.html.haml
effective_classifieds-0.6.7 app/views/effective/classified_wizards/_summary.html.haml
effective_classifieds-0.6.6 app/views/effective/classified_wizards/_summary.html.haml
effective_classifieds-0.6.5 app/views/effective/classified_wizards/_summary.html.haml
effective_classifieds-0.6.4 app/views/effective/classified_wizards/_summary.html.haml
effective_classifieds-0.6.3 app/views/effective/classified_wizards/_summary.html.haml
effective_classifieds-0.6.2 app/views/effective/classified_wizards/_summary.html.haml
effective_classifieds-0.6.1 app/views/effective/classified_wizards/_summary.html.haml
effective_classifieds-0.6.0 app/views/effective/classified_wizards/_summary.html.haml
effective_classifieds-0.5.1 app/views/effective/classified_wizards/_summary.html.haml
effective_classifieds-0.5.0 app/views/effective/classified_wizards/_summary.html.haml