gitlab-org--gitlab-foss/app/views/refs/logs_tree.js.haml
2013-05-06 15:10:55 +03:00

8 lines
413 B
Text

- @logs.each do |content_data|
- file_name = content_data[:file_name]
- commit = content_data[:commit]
:plain
var row = $("table.table_#{@hex_path} tr.file_#{hexdigest(file_name)}");
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)}');