gitlabhq/app/views/refs/logs_tree.js.haml

9 lines
414 B
Text
Raw Normal View History

2012-07-10 21:52:38 +02:00
- @logs.each do |content_data|
- file_name = content_data[:file_name]
2012-10-18 20:53:35 +02:00
- commit = content_data[:commit]
2012-07-10 21:52:38 +02:00
:plain
var row = $("table.table_#{@hex_path} tr.file_#{hexdigest(file_name)}");
2012-10-18 20:53:35 +02:00
row.find("td.tree_time_ago").html('#{escape_javascript time_ago_in_words(commit.committed_date)} ago');
row.find("td.tree_commit").html('#{escape_javascript render("tree/tree_commit_column", commit: commit)}');