GeoRSS aggregator and Layar augmented reality server
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 
 
 

42 lignes
776 B

  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. %th
  12. - @feeds.each do |f|
  13. %tr
  14. %td
  15. .feed_title
  16. = link_to f.title, f
  17. %td.right= f.posts.size
  18. %td
  19. - if f.last_fetched.nil?
  20. never
  21. - else
  22. = time_ago_in_words f.last_fetched
  23. ago
  24. %td= link_to "Fetch", fetch_feed_url(f), :class => "button"
  25. %td= link_to 'Edit', edit_feed_path(f), :class => "button"
  26. %td= link_to 'Delete', f, :confirm => "Delete #{f.title} and all its posts?", :method => :delete, :class => "button"
  27. %tr
  28. %td
  29. %td.right= Post.count
  30. %td
  31. %td
  32. %td
  33. %td
  34. %td
  35. #new_feed
  36. = render 'form'