Sha256: b2c4d1edf513aa14b165ee843a29e35af0fd7d738d538fba8442d3d6abeca6d3

Contents?: true

Size: 488 Bytes

Versions: 40

Compression:

Stored size: 488 Bytes

Contents

atom_feed(url: checkouts_url(format: :atom)) do |feed|
  if @user
    feed.title t('checkout.user_checkout', login_name: @user.username)
  else
    feed.title t('checkout.library_group_checkout', library_group_name: @library_group.display_name.localize)
  end
  feed.updated(@checkouts.first ? @checkouts.first.created_at : Time.zone.now)

  @checkouts.each do |checkout|
    feed.entry(checkout) do |entry|
      entry.title(checkout.item.manifestation.original_title)
    end
  end
end

Version data entries

40 entries across 40 versions & 1 rubygems

Version Path
enju_circulation-0.2.0.beta.4 app/views/checkouts/index.atom.builder
enju_circulation-0.2.0.beta.3 app/views/checkouts/index.atom.builder
enju_circulation-0.2.0.beta.2 app/views/checkouts/index.atom.builder
enju_circulation-0.2.0.beta.1 app/views/checkouts/index.atom.builder
enju_circulation-0.1.2 app/views/checkouts/index.atom.builder
enju_circulation-0.1.1 app/views/checkouts/index.atom.builder
enju_circulation-0.1.0 app/views/checkouts/index.atom.builder
enju_circulation-0.1.0.pre49 app/views/checkouts/index.atom.builder
enju_circulation-0.1.0.pre48 app/views/checkouts/index.atom.builder
enju_circulation-0.1.0.pre47 app/views/checkouts/index.atom.builder
enju_circulation-0.1.0.pre46 app/views/checkouts/index.atom.builder
enju_circulation-0.1.0.pre45 app/views/checkouts/index.atom.builder
enju_circulation-0.1.0.pre44 app/views/checkouts/index.atom.builder
enju_circulation-0.1.0.pre43 app/views/checkouts/index.atom.builder
enju_circulation-0.1.0.pre42 app/views/checkouts/index.atom.builder
enju_circulation-0.1.0.pre41 app/views/checkouts/index.atom.builder
enju_circulation-0.1.0.pre40 app/views/checkouts/index.atom.builder
enju_circulation-0.1.0.pre39 app/views/checkouts/index.atom.builder
enju_circulation-0.1.0.pre38 app/views/checkouts/index.atom.builder
enju_circulation-0.1.0.pre37 app/views/checkouts/index.atom.builder