[Debtags-commits] [svn] r1516 - central-database/branches/alioth/webfrontend

Enrico Zini enrico at costa.debian.org
Sat Nov 19 14:19:42 UTC 2005


Author: enrico
Date: Sat Nov 19 14:19:42 2005
New Revision: 1516

Modified:
   central-database/branches/alioth/webfrontend/edittemplate.html
Log:
Nicer display of changes

Modified: central-database/branches/alioth/webfrontend/edittemplate.html
==============================================================================
--- central-database/branches/alioth/webfrontend/edittemplate.html	(original)
+++ central-database/branches/alioth/webfrontend/edittemplate.html	Sat Nov 19 14:19:42 2005
@@ -171,7 +171,11 @@
 	node.innerHTML = mkCurTags();
 
 	node = document.getElementById("curpatch")
-	node.innerHTML = mkPatch();
+	var patch = mkPatch();
+	if (patch.length > 0)
+		node.innerHTML = "Changes: " + mkPatch();
+	else
+		node.innerHTML = "";
 
 	node = document.getElementById("curtags-buttons")
 	node.innerHTML = mkCurTagsButtons();



More information about the Debtags-commits mailing list