Sha256: f42ddbaf9f823d5b87e362166d8e2b3793e4589a337edb8de3def68e86b3fbd3

Contents?: true

Size: 1.92 KB

Versions: 62

Compression:

Stored size: 1.92 KB

Contents

.insight
  .insight__date
    %span.insight__period= insight.reporting_on.strftime('%B %Y')
  .insight__heading= t('workarea.admin.insights.upcoming_releases.title')
  .insight__body
    %p.insight__note= t('workarea.admin.insights.upcoming_releases.info')
    .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.13 app/views/workarea/admin/insights/_upcoming_releases.html.haml
workarea-admin-3.4.12 app/views/workarea/admin/insights/_upcoming_releases.html.haml