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 637 B

12 年之前
12 年之前
12 年之前
12 年之前
12 年之前
12 年之前
12 年之前
123456789101112131415161718192021222324252627282930
  1. %h1 Feeds
  2. %table
  3. %tr
  4. %th Title
  5. %th Feed URL
  6. %th Posts
  7. %th Fetched
  8. %th
  9. %th
  10. %th
  11. %th
  12. - @feeds.each do |feed|
  13. %tr
  14. %td= link_to feed.title, feed
  15. %td= link_to feed.feed_url, feed.feed_url
  16. %td= feed.posts.size
  17. %td
  18. - if feed.last_fetched.nil?
  19. never
  20. - else
  21. = time_ago_in_words feed.last_fetched
  22. ago
  23. %td= link_to "Fetch", fetch_feed_url(feed)
  24. %td= link_to 'Edit', edit_feed_path(feed)
  25. %td= link_to 'Delete', feed, :confirm => "Delete #{feed.title} and all its posts?", :method => :delete
  26. #new_feed
  27. = render 'form'