Updated graph tooltips and labels

This commit is contained in:
Koen Punt 2012-12-28 16:36:42 +01:00
parent f04597d918
commit 90cba379a4
2 changed files with 117 additions and 45 deletions

View file

@ -22,14 +22,16 @@ module Gitlab
h[:parents] = self.parents.collect do |p|
[p.id,0,0]
end
h[:author] = author.name
h[:author] = {
name: author.name,
email: author.email
}
h[:time] = time
h[:space] = space
h[:refs] = refs.collect{|r|r.name}.join(" ") unless refs.nil?
h[:id] = sha
h[:date] = date
h[:message] = message
h[:login] = author.email
h
end