r6967 - dumbhippo/trunk/server/src/com/dumbhippo/web/servlets



Author: marinaz
Date: 2007-12-04 19:23:39 -0600 (Tue, 04 Dec 2007)
New Revision: 6967

Modified:
   dumbhippo/trunk/server/src/com/dumbhippo/web/servlets/FacebookServlet.java
Log:
Small style changes.

Modified: dumbhippo/trunk/server/src/com/dumbhippo/web/servlets/FacebookServlet.java
===================================================================
--- dumbhippo/trunk/server/src/com/dumbhippo/web/servlets/FacebookServlet.java	2007-12-05 01:00:34 UTC (rev 6966)
+++ dumbhippo/trunk/server/src/com/dumbhippo/web/servlets/FacebookServlet.java	2007-12-05 01:23:39 UTC (rev 6967)
@@ -109,19 +109,18 @@
         xml.appendTextNode("div", "Mugshot allows you and your friends to see your activity from lots of other sites on the internet and automatically puts that in your profile and news feed.",
                            "style", "margin-left:45px; margin-bottom:10px;");
 		if (user != null && errorMessage == null) {
-			xml.appendTextNode("div", "Updates to the information below will be reflected in ",
+			xml.appendTextNode("span", "Updates to the information below will be reflected in ",
 					           "style", "margin-left:15px;");
 		    xml.appendTextNode("a", "your Mugshot account", "href",
 				               "http://dogfood.mugshot.org/person?who="; + user.getId(), "target", "_blank");
 		    xml.append(".");
-		    xml.appendTextNode("h3", "Photos and Video", "style", "margin-left:15px;");
 		    ExternalAccountCategory currentCategory = null;
 		    xml.openElement("fb:editor", "action", "http://apps.facebook.com/mugshot-test";);
 		    for (ExternalAccountView externalAccount : getSupportedAccounts(user)) {
 		    	if (currentCategory == null || !currentCategory.equals(externalAccount.getExternalAccountType().getCategory())) {
 				    currentCategory = externalAccount.getExternalAccountType().getCategory();
 		    		xml.openElement("fb:editor-custom");
-				    xml.appendTextNode("h3", currentCategory.getCategoryName());		    	
+				    xml.appendTextNode("h3", currentCategory.getCategoryName(), "style", "margin-left:-85px;" );		    	
 				    xml.closeElement();
 		    	}
 			    xml.openElement("fb:editor-custom", "label", externalAccount.getSiteName());



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]