summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorGabriel Luong2013-06-12 11:52:08 (EDT)
committer Malgorzata Janczarska2013-06-12 12:38:26 (EDT)
commitc1982cfe916b312001e5928a9516d089dab0bb35 (patch)
tree5c8a9ca188ba117630d6b95d4314121a23197e84
parent3dbb8cea6547859e9ff43d3118ad0f71e6bac86c (diff)
downloadorg.eclipse.orion.client-c1982cfe916b312001e5928a9516d089dab0bb35.zip
org.eclipse.orion.client-c1982cfe916b312001e5928a9516d089dab0bb35.tar.gz
org.eclipse.orion.client-c1982cfe916b312001e5928a9516d089dab0bb35.tar.bz2
Bug 410465 - Git Status: only one commit displayedv20130612-1638
Conflicts: bundles/org.eclipse.orion.client.git/web/orion/git/gitStatusExplorer.js
-rw-r--r--bundles/org.eclipse.orion.client.git/web/orion/git/gitStatusExplorer.js8
1 files changed, 2 insertions, 6 deletions
diff --git a/bundles/org.eclipse.orion.client.git/web/orion/git/gitStatusExplorer.js b/bundles/org.eclipse.orion.client.git/web/orion/git/gitStatusExplorer.js
index 9286c31..099f7da 100644
--- a/bundles/org.eclipse.orion.client.git/web/orion/git/gitStatusExplorer.js
+++ b/bundles/org.eclipse.orion.client.git/web/orion/git/gitStatusExplorer.js
@@ -888,7 +888,6 @@ define(['require', 'i18n!git/nls/gitmessages', 'orion/explorers/explorer', 'orio
GitStatusExplorer.prototype.renderCommit = function(commit, outgoing, index) {
var commitNode = lib.node("commitNode"); //$NON-NLS-0$
- commitNode.innerHTML = ""; //$NON-NLS-0$
var sectionItem = document.createElement("div"); //$NON-NLS-0$
sectionItem.className = "sectionTableItem lightTreeTableRow"; //$NON-NLS-0$
commitNode.appendChild(sectionItem);
@@ -927,10 +926,7 @@ define(['require', 'i18n!git/nls/gitmessages', 'orion/explorers/explorer', 'orio
new mCommitTooltip.CommitTooltipDialog({commit: commit, triggerNode: titleLink});
- var d = document.createElement("div"); //$NON-NLS-0$
- detailsView.appendChild(d);
-
- var description = document.createElement("span"); //$NON-NLS-0$
+ var description = document.createElement("div"); //$NON-NLS-0$
description.textContent = " (SHA " + commit.Name + ") by " + commit.AuthorName //$NON-NLS-1$ //$NON-NLS-0$
+ " on " + new Date(commit.Time).toLocaleString(); //$NON-NLS-0$
detailsView.appendChild(description);
@@ -940,4 +936,4 @@ define(['require', 'i18n!git/nls/gitmessages', 'orion/explorers/explorer', 'orio
}());
return exports;
-}); // end of define
+}); // end of define \ No newline at end of file