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.3.11 app/views/checkouts/index.atom.builder
enju_circulation-0.3.10 app/views/checkouts/index.atom.builder
enju_circulation-0.3.9 app/views/checkouts/index.atom.builder
enju_circulation-0.3.8 app/views/checkouts/index.atom.builder
enju_circulation-0.3.7 app/views/checkouts/index.atom.builder
enju_circulation-0.3.6 app/views/checkouts/index.atom.builder
enju_circulation-0.3.5 app/views/checkouts/index.atom.builder
enju_circulation-0.3.4 app/views/checkouts/index.atom.builder
enju_circulation-0.3.3 app/views/checkouts/index.atom.builder
enju_circulation-0.3.2 app/views/checkouts/index.atom.builder
enju_circulation-0.3.1 app/views/checkouts/index.atom.builder
enju_circulation-0.3.0 app/views/checkouts/index.atom.builder
enju_circulation-0.3.0.rc.1 app/views/checkouts/index.atom.builder
enju_circulation-0.3.0.beta.1 app/views/checkouts/index.atom.builder
enju_circulation-0.2.5 app/views/checkouts/index.atom.builder
enju_circulation-0.2.4 app/views/checkouts/index.atom.builder
enju_circulation-0.2.3 app/views/checkouts/index.atom.builder
enju_circulation-0.2.2 app/views/checkouts/index.atom.builder
enju_circulation-0.2.1 app/views/checkouts/index.atom.builder
enju_circulation-0.2.0 app/views/checkouts/index.atom.builder