gitlab-org--gitlab-foss/app/views/projects/refs/logs_tree.js.haml
Dmitriy Zaporozhets 9a31844e2a
Remove unnecessary ago keyword
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2013-12-30 14:49:22 +02:00

9 lines
445 B
Text

- @logs.each do |content_data|
- file_name = content_data[:file_name]
- commit = content_data[:commit]
- next unless commit
:plain
var row = $("table.table_#{@hex_path} tr.file_#{hexdigest(file_name)}");
row.find("td.tree_time_ago").html('#{escape_javascript time_ago_with_tooltip(commit.committed_date)}');
row.find("td.tree_commit").html('#{escape_javascript render("projects/tree/tree_commit_column", commit: commit)}');