Sha256: 4e0485067e19b9ce52e46d4c72aaf22d3c13145c5bec552e86f689cc9781cc3b

Contents?: true

Size: 808 Bytes

Versions: 11

Compression:

Stored size: 808 Bytes

Contents

- @title = root

= partial("header", :locals => { :parent => parent, :file => true, :idx => idx  })

- if revisions && revisions.any?
  %table.condensed-table.zebra-striped
    %thead
      %tr
        %th Commit
        %th Subject
        %th Author
        %th Committed
        %th Revert

    %tbody
      - revisions.each_with_index do |r, i|
        %tr
          %td.commit
            %a{ :href => "?revision=#{r[:commit]}" }
              = r[:commit]
          %td.subject= r[:subject]
          %td.author= r[:author]
          %td.date.reldate= r[:date]
          %td.revert
            %a{ :href => "?mode=revert&revision=#{r[:commit]}", :onclick => "javascript:return confirm('Are you sure?')" }
              = r[:commit]
- if revisions.empty?
  %p No revisions for this file could be found.

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
gitdocs-0.5.0.pre6 lib/gitdocs/views/revisions.haml
gitdocs-0.5.0.pre5 lib/gitdocs/views/revisions.haml
gitdocs-0.5.0.pre3 lib/gitdocs/views/revisions.haml
gitdocs-0.5.0.pre2 lib/gitdocs/views/revisions.haml
gitdocs-0.5.0.pre1 lib/gitdocs/views/revisions.haml
gitdocs-0.4.15 lib/gitdocs/views/revisions.haml
siuying-gitdocs-0.4.16 lib/gitdocs/views/revisions.haml
siuying-gitdocs-0.4.15 lib/gitdocs/views/revisions.haml
siuying-gitdocs-0.4.14 lib/gitdocs/views/revisions.haml
siuying-gitdocs-0.4.14.md lib/gitdocs/views/revisions.haml
gitdocs-0.4.14 lib/gitdocs/views/revisions.haml