Sha256: 520d9e90a954f79a02e0430d6a41ab5338827b6199397095aa06fac858fe49c6

Contents?: true

Size: 239 Bytes

Versions: 34

Compression:

Stored size: 239 Bytes

Contents

class PluginDecorator < Draper::Decorator
  delegate_all

  def status
    if processing?
      I18n.t("terms.processing")
    elsif installed?
      I18n.t("terms.installed")
    else
      I18n.t("terms.not_installed")
    end
  end
end

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
fluentd-ui-1.1.0 app/decorators/plugin_decorator.rb
fluentd-ui-1.0.1 app/decorators/plugin_decorator.rb
fluentd-ui-1.0.0 app/decorators/plugin_decorator.rb
fluentd-ui-1.0.0.beta.1 app/decorators/plugin_decorator.rb
fluentd-ui-1.0.0.alpha.3 app/decorators/plugin_decorator.rb
fluentd-ui-1.0.0.alpha.2 app/decorators/plugin_decorator.rb
fluentd-ui-1.0.0.alpha.1 app/decorators/plugin_decorator.rb
fluentd-ui-0.4.5 app/decorators/plugin_decorator.rb
fluentd-ui-0.4.4 app/decorators/plugin_decorator.rb
fluentd-ui-0.4.3 app/decorators/plugin_decorator.rb
fluentd-ui-0.4.2 app/decorators/plugin_decorator.rb
fluentd-ui-0.4.1 app/decorators/plugin_decorator.rb
fluentd-ui-0.4.0 app/decorators/plugin_decorator.rb
fluentd-ui-0.3.21 app/decorators/plugin_decorator.rb
fluentd-ui-0.3.20 app/decorators/plugin_decorator.rb
fluentd-ui-0.3.19 app/decorators/plugin_decorator.rb
fluentd-ui-0.3.18 app/decorators/plugin_decorator.rb
fluentd-ui-0.3.17 app/decorators/plugin_decorator.rb
fluentd-ui-0.3.16 app/decorators/plugin_decorator.rb
fluentd-ui-0.3.15 app/decorators/plugin_decorator.rb