Sha256: 62c11d4edb9e2bf87665af2739d64e3cd7ae9626a6148b33f95a96a61c3ee7c6
Contents?: true
Size: 440 Bytes
Versions: 25
Compression:
Stored size: 440 Bytes
Contents
# frozen_string_literal: true module ScheduledTasksHelper def scheduled_tasks_status_time(time) if time.present? I18n.l(time, format: :short) else '-' end end def scheduled_tasks_log(scheduled_task, log_identifier) if File.exist?(scheduled_task.log_file(log_identifier)) link_to I18n.t(:log), log_scheduled_task_path(scheduled_task, identifier: log_identifier) else '-' end end end
Version data entries
25 entries across 25 versions & 1 rubygems