views/journal.haml
- if id
%p
Showing only wallet
%code= id
%p
= files.count
PUSH operation(s) over the last 24 hours:
%table
%thead
%tr
%th File
%th Size
%th Modified
%tbody
- files.each do |f|
- file = File.join(dir, f)
%tr
%td
%a{href: "/journal/item?id=#{f}"}<
%code= f
%td.right= Zold::Size.new(File.size(file))
%td= "#{Zold::Age.new(File.mtime(file))} ago"