mirror of
https://github.com/tomgi/git_stats.git
synced 2024-11-19 01:50:39 +01:00
28 lines
737 B
Text
28 lines
737 B
Text
%table{:class => "table table-hover table-bordered"}
|
|
%tr
|
|
%td= :project_name.t
|
|
%td= repo.project_name
|
|
%tr
|
|
%td Project version
|
|
%td= repo.project_version
|
|
%tr
|
|
%td Generated at
|
|
%td= DateTime.now.to_formatted_s(:long)
|
|
%tr
|
|
%td Generator
|
|
%td= "GitStats #{GitStats::VERSION}"
|
|
%tr
|
|
%td Report period
|
|
%td= repo.commits_period.map {|d| d.to_formatted_s(:long)}.join(" .. ")
|
|
%tr
|
|
%td Total files
|
|
%td= repo.files_count
|
|
%tr
|
|
%td Total lines
|
|
%td= "#{repo.lines_count} lines (#{repo.short_stats.map(&:insertions).sum} insertions, #{repo.short_stats.map(&:deletions).sum} deletions)"
|
|
%tr
|
|
%td Total commits
|
|
%td= repo.commits.size
|
|
%tr
|
|
%td Authors
|
|
%td= repo.authors.size
|