Sha256: e8c286f5967de066164466449d8d105c55ce1de8575943d39b843117d6604db5

Contents?: true

Size: 500 Bytes

Versions: 126

Compression:

Stored size: 500 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

126 entries across 126 versions & 2 rubygems

Version Path
enju_circulation-0.0.69 app/views/checkouts/index.atom.builder
enju_circulation-0.0.68 app/views/checkouts/index.atom.builder
enju_circulation-0.0.67 app/views/checkouts/index.atom.builder
enju_circulation-0.0.66 app/views/checkouts/index.atom.builder
enju_circulation-0.0.65 app/views/checkouts/index.atom.builder
enju_message-0.1.9 app/views/checkouts/index.atom.builder
enju_circulation-0.0.64 app/views/checkouts/index.atom.builder
enju_message-0.0.24 app/views/checkouts/index.atom.builder
enju_circulation-0.0.63 app/views/checkouts/index.atom.builder
enju_circulation-0.0.62 app/views/checkouts/index.atom.builder
enju_circulation-0.0.61 app/views/checkouts/index.atom.builder
enju_circulation-0.0.60 app/views/checkouts/index.atom.builder
enju_circulation-0.0.59 app/views/checkouts/index.atom.builder
enju_circulation-0.0.58 app/views/checkouts/index.atom.builder
enju_circulation-0.0.57 app/views/checkouts/index.atom.builder
enju_circulation-0.0.56 app/views/checkouts/index.atom.builder
enju_circulation-0.0.55 app/views/checkouts/index.atom.builder
enju_circulation-0.0.54 app/views/checkouts/index.atom.builder
enju_circulation-0.0.53 app/views/checkouts/index.atom.builder
enju_circulation-0.0.52 app/views/checkouts/index.atom.builder