0
@@ -94,8 +94,8 @@ class CommitsController < OSX::NSObject
0
objc_method :tableView_willDisplayCell_forTableColumn_row, 'v@:@@@i'
0
def tableView_willDisplayCell_forTableColumn_row(table_view, cell, table_column, row)
0
- cell.subtitle = %(by #{commit.committer.name} on #{commit.committed_date.strftime("%A, %b %d, %I:%M %p")})
0
- cell.gravatarImage = @icons[commit.committer.email]
0
+ cell.subtitle = %(by #{commit.author.name} on #{commit.authored_date.strftime("%A, %b %d, %I:%M %p")})
0
+ cell.gravatarImage = @icons[commit.author.email]
0
def webView_didFinishLoadForFrame(view, frame)
0
@@ -112,12 +112,12 @@ class CommitsController < OSX::NSObject
0
set_html("message", active_commit.message.gsub("\n", "<br />"))
0
set_html("hash", active_commit.id)
0
- if Time.now.day == active_commit.committed_date.day
0
- cdate = active_commit.committed_date.strftime("Today %I:%M %p")
0
+ if Time.now.day == active_commit.authored_date.day
0
+ cdate = active_commit.authored_date.strftime("Today, %I:%M %p")
0
- cdate = active_commit.committed_date.strftime("%A, %B %d %I:%M %p")
0
+ cdate = active_commit.authored_date.strftime("%A, %B %d %I:%M %p")
0
- set_html("date", cdate)
0
+ set_html("date", "#{cdate} by #{active_commit.author.name}")
0
file_list = doc.getElementById('files')
0
diff_list = doc.getElementById('diffs')
Comments
No one has commented yet.