Sha256: a57e762b3c1caa8d0d9662e93e5cbad90243d741b6c25f9e256ee405dac75d7f

Contents?: true

Size: 572 Bytes

Versions: 32

Compression:

Stored size: 572 Bytes

Contents

module ActivityReportHelper

  def activity_reports(presenter)
    render partial: 'woople-theme/reports/activity/show',
      object: ThemePresentation.wrap(presenter, WoopleTheme::Reports::ActivityReportsPresenter),
      as: 'presenter'
  end

  def activity_report_legend(legend)
    render partial: 'woople-theme/reports/activity/legend', locals: { legend: legend }
  end

  def activity_report_download(download_path)
    return if download_path.nil?

    render partial: 'woople-theme/reports/activity/download', locals: { download_path: download_path }
  end

end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
woople-theme-0.8.1 app/helpers/activity_report_helper.rb
woople-theme-0.8.0 app/helpers/activity_report_helper.rb
woople-theme-0.6.27 app/helpers/activity_report_helper.rb
woople-theme-0.6.26 app/helpers/activity_report_helper.rb
woople-theme-0.6.25 app/helpers/activity_report_helper.rb
woople-theme-0.6.24 app/helpers/activity_report_helper.rb
woople-theme-0.6.23 app/helpers/activity_report_helper.rb
woople-theme-0.6.22 app/helpers/activity_report_helper.rb
woople-theme-0.6.21 app/helpers/activity_report_helper.rb
woople-theme-0.6.20 app/helpers/activity_report_helper.rb
woople-theme-0.6.19 app/helpers/activity_report_helper.rb
woople-theme-0.6.18 app/helpers/activity_report_helper.rb