Sha256: 27f5302598604f24418fe9cb88924b96648d899bed7e53368939bacb42527211

Contents?: true

Size: 1.29 KB

Versions: 83

Compression:

Stored size: 1.29 KB

Contents

.home
  .banners
    .container
      - if current_user
        .row
          .col-md-3
            %h3 Synchronization history
          - if current_organization.oauth_uid && is_admin
            .col-md-2
              = link_to "Synchronize", home_synchronize_path, method: :post, class: "btn btn-warning btn-lg"

        - if @synchronizations
          %table.table.table-condensed
            %th Synchronization date
            %th Status
            %th Message

            - @synchronizations.each do |sync|
              - if sync.status == 'ERROR'
                %tr.warning
                  %td= sync.updated_at
                  %td= sync.status
                  %td= sync.message
              - elsif sync.status == 'SUCCESS'
                %tr.success
                  %td= sync.updated_at
                  %td= sync.status
                  %td= sync.message
              - else
                %tr.active
                  %td= sync.updated_at
                  %td= sync.status
                  %td= sync.message
        - else
          .row
            .col-md-12
              %strong No synchronization yet

      - else
        .row.center
          %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

83 entries across 83 versions & 1 rubygems

Version Path
maestrano-connector-rails-2.0.0.pre.RC1 lib/generators/connector/templates/synchronizations_index.haml
maestrano-connector-rails-1.4.0 lib/generators/connector/templates/synchronizations_index.haml
maestrano-connector-rails-1.3.5 lib/generators/connector/templates/synchronizations_index.haml
maestrano-connector-rails-1.3.4 lib/generators/connector/templates/synchronizations_index.haml
maestrano-connector-rails-1.3.3 lib/generators/connector/templates/synchronizations_index.haml
maestrano-connector-rails-1.3.2 lib/generators/connector/templates/synchronizations_index.haml
maestrano-connector-rails-1.3.1 lib/generators/connector/templates/synchronizations_index.haml
maestrano-connector-rails-1.3.0 lib/generators/connector/templates/synchronizations_index.haml
maestrano-connector-rails-1.2.3 lib/generators/connector/templates/synchronizations_index.haml
maestrano-connector-rails-1.2.2 lib/generators/connector/templates/synchronizations_index.haml
maestrano-connector-rails-1.2.1 lib/generators/connector/templates/synchronizations_index.haml
maestrano-connector-rails-1.2.0 lib/generators/connector/templates/synchronizations_index.haml
maestrano-connector-rails-1.1.2 lib/generators/connector/templates/synchronizations_index.haml
maestrano-connector-rails-1.1.1 lib/generators/connector/templates/synchronizations_index.haml
maestrano-connector-rails-1.1.0 lib/generators/connector/templates/synchronizations_index.haml
maestrano-connector-rails-1.0.4 lib/generators/connector/templates/synchronizations_index.haml
maestrano-connector-rails-1.0.3 lib/generators/connector/templates/synchronizations_index.haml
maestrano-connector-rails-1.0.2 lib/generators/connector/templates/synchronizations_index.haml
maestrano-connector-rails-1.0.1 lib/generators/connector/templates/synchronizations_index.haml
maestrano-connector-rails-1.0.0 lib/generators/connector/templates/synchronizations_index.haml