Module: ForemanTasks::TasksHelper
- Defined in:
- app/helpers/foreman_tasks/tasks_helper.rb
Instance Method Summary collapse
Instance Method Details
#format_recurring_logic_limit(thing) ⇒ Object
8 9 10 11 12 13 14 |
# File 'app/helpers/foreman_tasks/tasks_helper.rb', line 8 def format_recurring_logic_limit(thing) if thing.nil? content_tag(:i, N_('Unlimited')) else thing end end |
#format_task_input(task) ⇒ Object
3 4 5 6 |
# File 'app/helpers/foreman_tasks/tasks_helper.rb', line 3 def format_task_input(task) return '-' unless task task.action end |