Sha256: 2f7e3c6f21f48a36e860e4b98f6b0b391c561724670cb39ff45d5cfadab5b8f5

Contents?: true

Size: 970 Bytes

Versions: 14

Compression:

Stored size: 970 Bytes

Contents

= resource_table(resource: Cmor::Legal::Configuration) do |t|
  = t.row :enforce_ssl do |resource|
    - capture_haml do
      - if resource.enforce_ssl
        %span.label.label-success= t('true')
      - else
        %span.label.label-danger= t('false')
  = t.row :filtered_log_parameters do |resource|
    - resource.filter_personal_data_attributes.collect { |p| "<span class=\"label label-success\">#{p}</span>&nbsp;" }.join.html_safe
  = t.row :enable_cookie_consent_banner do |resource|
    - capture_haml do
      - if resource.enable_cookie_consent_banner
        %span.label.label-success= t('true')
      - else
        %span.label.label-danger= t('false')
  - I18n.available_locales.each do |locale|
    = t.row "privacy_policy_available_for_#{locale}" do |resource|
      - capture_haml do
        - if resource.privacy_policy_available_for(locale)
          %span.label.label-success= t('true')
        - else
          %span.label.label-danger= t('false')

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
cmor_legal-0.0.60.pre app/views/cmor/legal/home/_index_extras.html.haml
cmor_legal-0.0.59.pre app/views/cmor/legal/home/_index_extras.html.haml
cmor_legal-0.0.58.pre app/views/cmor/legal/home/_index_extras.html.haml
cmor_legal-0.0.57.pre app/views/cmor/legal/home/_index_extras.html.haml
cmor_legal-0.0.56.pre app/views/cmor/legal/home/_index_extras.html.haml
cmor_legal-0.0.55.pre app/views/cmor/legal/home/_index_extras.html.haml
cmor_legal-0.0.54.pre app/views/cmor/legal/home/_index_extras.html.haml
cmor_legal-0.0.53.pre app/views/cmor/legal/home/_index_extras.html.haml
cmor_legal-0.0.52.pre app/views/cmor/legal/home/_index_extras.html.haml
cmor_legal-0.0.51.pre app/views/cmor/legal/home/_index_extras.html.haml
cmor_legal-0.0.50.pre app/views/cmor/legal/home/_index_extras.html.haml
cmor_legal-0.0.49.pre app/views/cmor/legal/home/_index_extras.html.haml
cmor_legal-0.0.48.pre app/views/cmor/legal/home/_index_extras.html.haml
cmor_legal-0.0.45.pre app/views/cmor/legal/home/_index_extras.html.haml