r7502 - dumbhippo/trunk/server/web/tags/3



Author: marinaz
Date: 2008-09-02 15:08:40 -0500 (Tue, 02 Sep 2008)
New Revision: 7502

Modified:
   dumbhippo/trunk/server/web/tags/3/accountEditTableExternals.tag
Log:
Make sure Twitter entry shows up only once on the account page for people who only have a Mugshot account.


Modified: dumbhippo/trunk/server/web/tags/3/accountEditTableExternals.tag
===================================================================
--- dumbhippo/trunk/server/web/tags/3/accountEditTableExternals.tag	2008-08-29 17:52:05 UTC (rev 7501)
+++ dumbhippo/trunk/server/web/tags/3/accountEditTableExternals.tag	2008-09-02 20:08:40 UTC (rev 7502)
@@ -128,21 +128,23 @@
 		</table>
 		<dht3:addImAccount/>
 	    </dht2:formTableRow>
-	    <c:forEach items="${account.gnomeSupportedAccounts.list}" var="supportedAccount">
-	        <c:if test="${supportedAccount.siteName == 'Twitter'}">
-	            <dht2:formTableRow controlId="dh${supportedAccount.domNodeIdName}"
-				                   label="${supportedAccount.siteName}"				
-				                   icon="/images3/${buildStamp}/${supportedAccount.iconName}">
-	                <gnome:loveEntry name="${supportedAccount.siteName}"
-				  	   		         userInfoType="${supportedAccount.siteUserInfoType}"
-							         isInfoTypeProvidedBySite="${supportedAccount.infoTypeProvidedBySite}"
-							         link="${supportedAccount.externalAccountType.siteLink}"
-							         baseId="dh${supportedAccount.domNodeIdName}"
-							         mode="${supportedAccount.sentiment}">				        
-			        </gnome:loveEntry>
-			    </dht2:formTableRow>			
-			</c:if>
-	    </c:forEach>
+	    <c:if test="${dh:enumIs(site, 'GNOME')}">
+	        <c:forEach items="${account.gnomeSupportedAccounts.list}" var="supportedAccount">
+	            <c:if test="${supportedAccount.siteName == 'Twitter'}">
+	                <dht2:formTableRow controlId="dh${supportedAccount.domNodeIdName}"
+				                       label="${supportedAccount.siteName}"				
+				                       icon="/images3/${buildStamp}/${supportedAccount.iconName}">
+	                    <gnome:loveEntry name="${supportedAccount.siteName}"
+				  	   	  	             userInfoType="${supportedAccount.siteUserInfoType}"
+							             isInfoTypeProvidedBySite="${supportedAccount.infoTypeProvidedBySite}"
+							             link="${supportedAccount.externalAccountType.siteLink}"
+							             baseId="dh${supportedAccount.domNodeIdName}"
+							             mode="${supportedAccount.sentiment}">				        
+			            </gnome:loveEntry>
+			        </dht2:formTableRow>			
+			    </c:if>
+	        </c:forEach>
+	    </c:if>
 	</c:if>    
 	<c:if test="${dh:enumIs(site, 'MUGSHOT')}">
 		<dht2:formTableRow label="Website"



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