Sha256: c18559d14dbbdd8eaf6b4e42c38b8a5cba34f33f4e2ba7e039a5341a1bb72942

Contents?: true

Size: 707 Bytes

Versions: 2

Compression:

Stored size: 707 Bytes

Contents

.commit
  h4=strip_message(commit.message, 120)
  == slim :'commits/labels', :locals => {commit: commit}, :layout => false
  .commit_sha =commit.sha
  .commit_date =commit.date.strftime("%d.%m.%Y %H:%M")
  .author_info
    div = commit.author.name
    div = commit.author.email
  .stats
    - if merge_commit?(commit)
      div.merge_commit merge
    -else
      div.additions = "#{ commit.stats.additions } additions"
      div.deletions = "#{ commit.stats.deletions } deletions"

  - if large_commit?(commit)
    .diff-names
      .large
        =' commit.diffs.count
        | files changed
  - else 
    == slim(:'diffs/list', :locals => {diffs: commit.diffs}, :layout => false).force_encoding('utf-8')

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
zitgit-0.1.1 views/commits/detail.slim
zitgit-0.1.0 views/commits/detail.slim