Sha256: b853b99bc2d634f809d3b0fb52e0398311cb464298356a1a02fbe013cb1e27f7

Contents?: true

Size: 1.26 KB

Versions: 11

Compression:

Stored size: 1.26 KB

Contents

/ TODO
/ Replace ApplicationName
.home
  .banners
    .container
      - if is_admin
        .row
          .col-md-10
            %h3 Data Shared
            %small Equivalence between Maestrano's Connec!™ id and ApplicationName id for each of your entities

        - if @idmaps
          %table.table.table-condensed
            %th Entity name
            %th Connec!™ entity
            %th Connec!™ id
            %th SalesForce entity
            %th SalesForce id
            %th Message

            - @idmaps.each do |idmap|
              %tr
                %td= idmap.name
                %td= idmap.connec_entity ? idmap.connec_entity.humanize : nil
                %td= idmap.connec_id
                %td= idmap.external_entity ? idmap.external_entity.humanize : nil
                %td= idmap.external_id
                %td= idmap.message
        - else
          .spacer1
          .row
            .col-md-12
              %strong You don't have any data mapped yet

      - else
        .row.center
          -if current_user
            %h3 You don't have the necessary rights to access this page.
          - else
            %h3 You need to be logged in to access this page
          = button_to "Go back", home_index_path, method: :get, class: 'btn btn-warning'

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
maestrano-connector-rails-0.3.6 lib/generators/connector/templates/shared_entities_index.haml
maestrano-connector-rails-0.3.5 lib/generators/connector/templates/shared_entities_index.haml
maestrano-connector-rails-0.3.4 lib/generators/connector/templates/shared_entities_index.haml
maestrano-connector-rails-0.3.3 lib/generators/connector/templates/shared_entities_index.haml
maestrano-connector-rails-0.3.2 lib/generators/connector/templates/shared_entities_index.haml
maestrano-connector-rails-0.3.1 lib/generators/connector/templates/shared_entities_index.haml
maestrano-connector-rails-0.3.0 lib/generators/connector/templates/shared_entities_index.haml
maestrano-connector-rails-0.2.20 lib/generators/connector/templates/shared_entities_index.haml
maestrano-connector-rails-0.2.19 lib/generators/connector/templates/shared_entities_index.haml
maestrano-connector-rails-0.2.18 lib/generators/connector/templates/shared_entities_index.haml
maestrano-connector-rails-0.2.17 lib/generators/connector/templates/shared_entities_index.haml