GeoRSS aggregator and Layar augmented reality server
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

index.html.haml 718 B

pirms 12 gadiem
pirms 12 gadiem
pirms 12 gadiem
pirms 12 gadiem
pirms 12 gadiem
pirms 12 gadiem
pirms 12 gadiem
pirms 12 gadiem
pirms 12 gadiem
pirms 12 gadiem
pirms 12 gadiem
pirms 12 gadiem
pirms 12 gadiem
1234567891011121314151617181920212223242526272829303132
  1. %h1 Feeds
  2. %p= link_to "Fetch all", :fetch_all, :class => "button"
  3. %table
  4. %tr
  5. %th Title
  6. %th Feed URL
  7. %th Posts
  8. %th Fetched
  9. %th
  10. %th
  11. %th
  12. %th
  13. - @feeds.each do |f|
  14. %tr
  15. %td= link_to f.title, f
  16. %td= link_to f.feed_url, f.feed_url
  17. %td= 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. #new_feed
  28. = render 'form'