lib/tasks/views/notee/archives.html.erb in notee-1.0.5 vs lib/tasks/views/notee/archives.html.erb in notee-1.0.6

- old
+ new

@@ -1,13 +1,12 @@ <%= render :partial => "notee/partials/header.html.erb" %> <div class="notee_wrapper"> <div class="notee_main"> <h2>Archive List</h2> - <% @archives.each do |archive| %> - <% slash_time = archive.time.gsub("-","/") %> + <% @archives.each do |key, count| %> <div class="notee_list"> - <a href="/archives/<%= slash_time %>"> - <h3><%= slash_time %> (<%= archive.count %>)</h3> + <a href="/archives/<%= key %>"> + <h3><%= key %> (<%= count %>)</h3> </a> </div> <% end %> </div> <%= render :partial => "notee/partials/sidebar.html.erb" %>