Sha256: b5a927fd86f40eed48dde25b8da9657234c12f679cae15b68dedfe4d4426139a

Contents?: true

Size: 1.95 KB

Versions: 62

Compression:

Stored size: 1.95 KB

Contents

.insight
  .insight__date
    %span.insight__period= insight.reporting_on.to_date.to_s(:date_only)
  .insight__heading= t('workarea.admin.insights.release_reminder.title')
  .insight__body
    %p.insight__note= t('workarea.admin.insights.release_reminder.info', count: insight.results.size)
    .grid.grid--auto.grid--large.grid--center
      - insight.results.select(&:release).each do |result|
        .grid__cell
          .card{ class: card_classes(:planned_changes) }
            = link_to release_changesets_path(result.release), class: 'card__header' do
              %span.card__header-text= result.release.name
              = inline_svg 'workarea/admin/icons/planned_changes.svg', class: 'card__icon'

            .card__body
              - if result.release.changesets_with_releasable.empty?
                %p.card__empty-note= t('workarea.admin.dashboards.upcoming_store_changes.no_changes_for_this_release')
              - else
                - result.release.changesets_with_releasable.take(3).each do |changeset|
                  .activity
                    .activity__header
                      .activity__avatar
                        = changeset_icon changeset, { class: 'svg-icon'}
                      .activity__name= changeset.release.name
                      .activity__time
                        = changeset.publish_humanized
                        - if changeset.release_date.present?
                          = local_time(changeset.release_date, :long)
                    .activity__message
                      .release-changeset.release-changeset--activity
                        .release-changeset__body
                          - changeset.changed_fields.each do |field|
                            = render_changeset_field(changeset, field)

                = link_to release_changesets_path(result.release), class: 'card__button' do
                  %span.button.button--small= t('workarea.admin.dashboards.upcoming_store_changes.view_changes')

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
workarea-admin-3.4.27 app/views/workarea/admin/insights/_release_reminder.html.haml
workarea-admin-3.5.4 app/views/workarea/admin/insights/_release_reminder.html.haml
workarea-admin-3.4.26 app/views/workarea/admin/insights/_release_reminder.html.haml
workarea-admin-3.5.3 app/views/workarea/admin/insights/_release_reminder.html.haml
workarea-admin-3.4.25 app/views/workarea/admin/insights/_release_reminder.html.haml
workarea-admin-3.5.2 app/views/workarea/admin/insights/_release_reminder.html.haml
workarea-admin-3.4.24 app/views/workarea/admin/insights/_release_reminder.html.haml
workarea-admin-3.5.1 app/views/workarea/admin/insights/_release_reminder.html.haml
workarea-admin-3.4.23 app/views/workarea/admin/insights/_release_reminder.html.haml
workarea-admin-3.4.22 app/views/workarea/admin/insights/_release_reminder.html.haml
workarea-admin-3.5.0 app/views/workarea/admin/insights/_release_reminder.html.haml
workarea-admin-3.4.21 app/views/workarea/admin/insights/_release_reminder.html.haml
workarea-admin-3.5.0.beta.1 app/views/workarea/admin/insights/_release_reminder.html.haml
workarea-admin-3.4.20 app/views/workarea/admin/insights/_release_reminder.html.haml
workarea-admin-3.4.19 app/views/workarea/admin/insights/_release_reminder.html.haml
workarea-admin-3.4.18 app/views/workarea/admin/insights/_release_reminder.html.haml
workarea-admin-3.4.17 app/views/workarea/admin/insights/_release_reminder.html.haml
workarea-admin-3.4.16 app/views/workarea/admin/insights/_release_reminder.html.haml
workarea-admin-3.4.15 app/views/workarea/admin/insights/_release_reminder.html.haml
workarea-admin-3.4.14 app/views/workarea/admin/insights/_release_reminder.html.haml