Sha256: 208ca28947ce6ed0d26016ddc20252ec44639663b1d224e98b69f2535191a2e6

Contents?: true

Size: 1.26 KB

Versions: 72

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 the internal id and ApplicationName id for each of your entities

        - if @idmaps
          %table.table.table-condensed
            %th Entity name
            %th Internal entity
            %th Internal id
            %th ApplicationName entity
            %th ApplicationName 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

72 entries across 72 versions & 1 rubygems

Version Path
maestrano-connector-rails-2.3.6 lib/generators/connector/templates/shared_entities_index.haml
maestrano-connector-rails-2.3.5 lib/generators/connector/templates/shared_entities_index.haml
maestrano-connector-rails-2.3.4 lib/generators/connector/templates/shared_entities_index.haml
maestrano-connector-rails-2.3.3 lib/generators/connector/templates/shared_entities_index.haml
maestrano-connector-rails-2.3.2 lib/generators/connector/templates/shared_entities_index.haml
maestrano-connector-rails-2.3.1 lib/generators/connector/templates/shared_entities_index.haml
maestrano-connector-rails-2.3.0 lib/generators/connector/templates/shared_entities_index.haml
maestrano-connector-rails-2.2.1 lib/generators/connector/templates/shared_entities_index.haml
maestrano-connector-rails-2.2.0 lib/generators/connector/templates/shared_entities_index.haml
maestrano-connector-rails-2.1.3 lib/generators/connector/templates/shared_entities_index.haml
maestrano-connector-rails-2.1.2 lib/generators/connector/templates/shared_entities_index.haml
maestrano-connector-rails-2.1.1 lib/generators/connector/templates/shared_entities_index.haml
maestrano-connector-rails-2.1.0 lib/generators/connector/templates/shared_entities_index.haml
maestrano-connector-rails-2.0.2.pre.RC12 lib/generators/connector/templates/shared_entities_index.haml
maestrano-connector-rails-2.0.2.pre.RC11 lib/generators/connector/templates/shared_entities_index.haml
maestrano-connector-rails-2.0.2.pre.RC10 lib/generators/connector/templates/shared_entities_index.haml
maestrano-connector-rails-2.0.2.pre.RC8 lib/generators/connector/templates/shared_entities_index.haml
maestrano-connector-rails-2.0.2.pre.RC9 lib/generators/connector/templates/shared_entities_index.haml
maestrano-connector-rails-2.0.2.pre.RC7 lib/generators/connector/templates/shared_entities_index.haml
maestrano-connector-rails-2.0.2.pre.RC6 lib/generators/connector/templates/shared_entities_index.haml