You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by br...@apache.org on 2016/11/02 14:01:33 UTC
[2/3] allura git commit: [#5496] separate commit id from commit
message, so messages can all be lined up
[#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/252823b1
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/252823b1
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/252823b1
Branch: refs/heads/master
Commit: 252823b1df596779108249781f8aa2d3f75a72e9
Parents: 00f859b
Author: Dave Brondsema <da...@brondsema.net>
Authored: Mon Oct 24 13:51:18 2016 -0400
Committer: Dave Brondsema <da...@brondsema.net>
Committed: Wed Nov 2 10:01:01 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/252823b1/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);