RTM: 各サイトの更新状況

<%= message %>

URLの登録はこちら→ <%= auth.hidden_field %>

<% last_visited = auth.transaction {|ui| ui['last-visited']} urldb, = objs urldb.transaction do |db| if urldb.root?('urls') %>
    <% urldb['urls'].keys.sort{|a, b| urldb['urls'][b][0]<=>urldb['urls'][a][0]}.each do |url| %>
  1. <%= urldb['urls'][url][0].strftime('%Y-%m-%d %H:%M') %>: <% if urldb['urls'][url][0] > last_visited %> u <% else %> _ <% end %> <%= url %>
  2. <% end %>
<% end end %>
URLの登録はこちら→ <%= auth.hidden_field %>