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.

index.html.haml 744 B

12 vuotta sitten
12 vuotta sitten
12 vuotta sitten
12 vuotta sitten
12 vuotta sitten
12 vuotta sitten
12 vuotta sitten
12 vuotta sitten
12 vuotta sitten
12 vuotta sitten
12 vuotta sitten
12 vuotta sitten
12345678910111213141516171819202122232425262728293031323334
  1. %h1 Feeds
  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. %br
  18. =# link_to f.feed_url, f.feed_url
  19. %td.right= f.posts.size
  20. %td
  21. - if f.last_fetched.nil?
  22. never
  23. - else
  24. = time_ago_in_words f.last_fetched
  25. ago
  26. %td= link_to "Fetch", fetch_feed_url(f), :class => "button"
  27. %td= link_to 'Edit', edit_feed_path(f), :class => "button"
  28. %td= link_to 'Delete', f, :confirm => "Delete #{f.title} and all its posts?", :method => :delete, :class => "button"
  29. #new_feed
  30. = render 'form'