Sha256: 6a035be7ee309639cc42d95de337f218d4841c735cc15dbb34dd2779bcceefa1
Contents?: true
Size: 1001 Bytes
Versions: 1
Compression:
Stored size: 1001 Bytes
Contents
= haml :_commit, :layout => false, :locals => {:commit => @commit} - unless nil %form{:method => 'post'} %input{:type =>'submit', :value => 'Test this commit'} - else %form{:method => 'post'} %input{:type =>'submit', :value => 'Tests are runing now', :disabled => 'disabled'} %p.separator Commit Info %p.message = @commit.message %p.separator Files %p.files %ul -@commit.diffs.each do |diff| - op = diff.deleted_file ? 'deleted' : (diff.new_file ? 'new' : (diff.a_path == diff.b_path ? 'update' : 'moved')) %li{ :class => op } = "(#{(diff.a_path == diff.b_path) ? 'igual' : 'cambio'})" = diff.a_path || diff.b_path - @commit.build.each do |k,v| %p.separator=k.inspect %p.message=v.inspect %p.separator Specs %ul %li %dt Author: %dd= @commit.author.name %dt Commiter: %dd= @commit.committer.name %dt Commit Date: %dd= @commit.date %dt Work Date %dd= @commit.authored_date %dt
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ginst-0.2.2 | lib/app/views/commit.haml |