Sha256: 4702eced7810893bc1b6a31181e21f26e2c53fb2c5b44dd24150ee9fdf4645b1

Contents?: true

Size: 459 Bytes

Versions: 70

Compression:

Stored size: 459 Bytes

Contents

module ReservesHelper
  include ManifestationsHelper rescue nil
  def i18n_state(state)
    case state
    when 'pending'
      t('reserve.pending')
    when 'requested'
      t('reserve.requested')
    when 'retained'
      t('reserve.retained')
    when 'canceled'
      t('reserve.canceled')
    when 'expired'
      t('reserve.expired')
    when 'postponed'
      t('reserve.postponed')
    when 'completed'
      t('reserve.completed')
    end
  end
end

Version data entries

70 entries across 70 versions & 1 rubygems

Version Path
enju_circulation-0.3.11 app/helpers/reserves_helper.rb
enju_circulation-0.3.10 app/helpers/reserves_helper.rb
enju_circulation-0.3.9 app/helpers/reserves_helper.rb
enju_circulation-0.4.0.rc.1 app/helpers/reserves_helper.rb
enju_circulation-0.3.8 app/helpers/reserves_helper.rb
enju_circulation-0.3.7 app/helpers/reserves_helper.rb
enju_circulation-0.4.0.beta.4 app/helpers/reserves_helper.rb
enju_circulation-0.4.0.beta.3 app/helpers/reserves_helper.rb
enju_circulation-0.3.6 app/helpers/reserves_helper.rb
enju_circulation-0.4.0.beta.2 app/helpers/reserves_helper.rb
enju_circulation-0.4.0.beta.1 app/helpers/reserves_helper.rb
enju_circulation-0.3.5 app/helpers/reserves_helper.rb
enju_circulation-0.3.4 app/helpers/reserves_helper.rb
enju_circulation-0.3.3 app/helpers/reserves_helper.rb
enju_circulation-0.3.2 app/helpers/reserves_helper.rb
enju_circulation-0.3.1 app/helpers/reserves_helper.rb
enju_circulation-0.3.0 app/helpers/reserves_helper.rb
enju_circulation-0.3.0.rc.1 app/helpers/reserves_helper.rb
enju_circulation-0.3.0.beta.1 app/helpers/reserves_helper.rb
enju_circulation-0.2.5 app/helpers/reserves_helper.rb