GeoRSS aggregator and Layar augmented reality server
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

пре 12 година
пре 12 година
пре 12 година
пре 12 година
пре 12 година
пре 12 година
пре 12 година
пре 12 година
пре 12 година
пре 12 година
пре 12 година
пре 12 година
пре 12 година
пре 12 година
123456789101112131415161718192021222324252627282930313233343536373839
  1. %h1 Apollo
  2. %p= link_to "Fetch all", :fetch_all, :class => "button"
  3. %table
  4. %tr
  5. %th
  6. %th Posts
  7. %th Fetched
  8. %th
  9. %th
  10. %th
  11. - @feeds.each do |f|
  12. %tr
  13. %td
  14. .feed_title
  15. = link_to f.title, f
  16. %td.right= f.posts.count
  17. %td
  18. - if f.last_fetched.nil?
  19. never
  20. - else
  21. = time_ago_in_words f.last_fetched
  22. ago
  23. %td= link_to "Fetch", fetch_feed_url(f), :class => "button"
  24. %td= link_to 'Edit', edit_feed_path(f), :class => "button"
  25. %td= link_to 'Delete', f, :confirm => "Delete #{f.title} and all its posts?", :method => :delete, :class => "button"
  26. %tr
  27. %td
  28. %td.right= Post.count
  29. %td
  30. %td
  31. %td
  32. %td
  33. #new_feed
  34. = render 'form'