allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject [2/3] allura git commit: [#5496] separate commit id from commit message, so messages can all be lined up
Date Mon, 24 Oct 2016 19:27:24 GMT
[#5496] separate commit id from commit message, so messages can all be lined up


Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/ab1bf9ab
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/ab1bf9ab
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/ab1bf9ab

Branch: refs/heads/db/5496
Commit: ab1bf9abd6d1babcd1fd18ed2acd12dad3535b61
Parents: b1da575
Author: Dave Brondsema <dave@brondsema.net>
Authored: Mon Oct 24 13:51:18 2016 -0400
Committer: Dave Brondsema <dave@brondsema.net>
Committed: Mon Oct 24 15:27:07 2016 -0400

----------------------------------------------------------------------
 Allura/allura/lib/widgets/resources/js/commit_browser.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/ab1bf9ab/Allura/allura/lib/widgets/resources/js/commit_browser.js
----------------------------------------------------------------------
diff --git a/Allura/allura/lib/widgets/resources/js/commit_browser.js b/Allura/allura/lib/widgets/resources/js/commit_browser.js
index ff3d2bb..6db6e72 100644
--- a/Allura/allura/lib/widgets/resources/js/commit_browser.js
+++ b/Allura/allura/lib/widgets/resources/js/commit_browser.js
@@ -150,7 +150,8 @@ if($('#commit_graph')){
             canvas_ctx.fill();
             canvas_ctx.stroke();
             canvas_ctx.fillStyle = "#000";
-            canvas_ctx.fillText(commit.short_id + " " + commit.message, (2+next_column) *
x_space, y_pos);
+            canvas_ctx.fillText(commit.short_id, (2+next_column) * x_space + 5, y_pos);
+            canvas_ctx.fillText(commit.message, (2+next_column) * x_space + 60, y_pos);
         }
         if (data['next_commit']) {
             var y_pos = y_space+((next_row-offset)*y_space);


Mime
View raw message