Sha256: 25496a492086e58c33fc7e893718eecb5ba95aa482b9428fb5f471d3f1fb86ad

Contents?: true

Size: 719 Bytes

Versions: 1

Compression:

Stored size: 719 Bytes

Contents

- @title = root

= partial('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
            %a{ href: "?mode=revert&revision=#{r[:commit]}" }
              = 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.pre7 lib/gitdocs/views/revisions.haml