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.51 app/views/checkouts/index.atom.builder
enju_circulation-0.0.50 app/views/checkouts/index.atom.builder
enju_circulation-0.0.49 app/views/checkouts/index.atom.builder
enju_circulation-0.0.48 app/views/checkouts/index.atom.builder
enju_circulation-0.0.47 app/views/checkouts/index.atom.builder
enju_message-0.0.23 app/views/checkouts/index.atom.builder
enju_message-0.1.7 app/views/checkouts/index.atom.builder
enju_circulation-0.0.46 app/views/checkouts/index.atom.builder
enju_message-0.0.22 app/views/checkouts/index.atom.builder
enju_message-0.1.6 app/views/checkouts/index.atom.builder
enju_message-0.0.21 app/views/checkouts/index.atom.builder
enju_message-0.1.5 app/views/checkouts/index.atom.builder
enju_message-0.0.20 app/views/checkouts/index.atom.builder
enju_message-0.1.4 app/views/checkouts/index.atom.builder
enju_circulation-0.0.45 app/views/checkouts/index.atom.builder
enju_circulation-0.0.43 app/views/checkouts/index.atom.builder
enju_circulation-0.0.42 app/views/checkouts/index.atom.builder
enju_circulation-0.0.41 app/views/checkouts/index.atom.builder
enju_circulation-0.0.40 app/views/checkouts/index.atom.builder
enju_circulation-0.0.39 app/views/checkouts/index.atom.builder