Tree ajax log. progress bar & refactoring

This commit is contained in:
Dmitriy Zaporozhets 2012-07-10 23:12:38 +03:00
parent 1a2bacfb4b
commit f88a2617e6
8 changed files with 53 additions and 18 deletions

View file

@ -4,6 +4,6 @@
- tm = @project.team_member_by_name_or_email(content_commit.author_email, content_commit.author_name)
:plain
var row = $("table.table_#{@hex_path} tr.file_#{Digest::SHA1.hexdigest(file_name)}");
var row = $("table.table_#{@hex_path} tr.file_#{hexdigest(file_name)}");
row.find("td.tree_time_ago").html('#{escape_javascript(time_ago_in_words(content_commit.committed_date))} ago');
row.find("td.tree_commit").html('#{escape_javascript(render("tree_commit", :tm => tm, :content_commit => content_commit))}');