Sha256: c4bee1c05ac35f46fd41faa2f1eec606f2636a3fdcee4ec46ee9bfca8c864783

Contents?: true

Size: 589 Bytes

Versions: 5

Compression:

Stored size: 589 Bytes

Contents

h1
  | Revision History
  small< = @path

- if @history.any?
  form action=url("/c/#{@path}") method="post"
    ul.history
      - @history.each do |h|
        li
          input type="checkbox" name="compare[]" value=h[:hash]
          a.rev> href=url(@path + "?at=#{h[:hash]}") = h[:hash]
          strong.date<> = h[:date]
          span.message< = h[:message]

    button type="submit" == "#{octicon(:diff)} compare selected revisions"

- else
  .alert.alert-info
    strong> Nothing to show!
    | This File has no older Revisions!
    a< href=url(@path) Show current content instead

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
wikimd-0.4.2 lib/wikimd/app/views/history.slim
wikimd-0.4.1 lib/wikimd/app/views/history.slim
wikimd-0.4.0 lib/wikimd/app/views/history.slim
wikimd-0.3.1 lib/wikimd/app/views/history.slim
wikimd-0.3.0 lib/wikimd/app/views/history.slim