Sha256: dbede69d4bddf3bde7cd2e3f547b3b6cc5f2062cf33d36dfd3635f416f2d03cb
Contents?: true
Size: 856 Bytes
Versions: 1
Compression:
Stored size: 856 Bytes
Contents
- @title = root = haml(:_header, locals: { file: true, idx: idx }) - if revisions && revisions.any? %table#revisions.condensed-table.zebra-striped %thead %tr %th Commit %th Subject %th Author %th Committed %th Revert %tbody - revisions.each do |r| %tr %td.commit %a{ href: "?revision=#{r[:commit]}" } = r[:commit] %td.subject= r[:subject] %td.author= r[:author] %td.date.reldate= r[:date].iso8601 %td.revert %form{ method: 'POST', :'data-confirm-submit' => 'Are you sure?' } %input{ name: '_method', type: 'hidden', value: 'put' } %input.btn{ type: 'submit', name: 'revision', value: r[:commit] } - if revisions.empty? %p No revisions for this file could be found.
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gitdocs-0.5.0 | lib/gitdocs/views/revisions.haml |