r7521 - in dumbhippo/trunk/server/web: . jsp-gnome tags/3



Author: marinaz
Date: 2008-10-28 12:45:46 -0500 (Tue, 28 Oct 2008)
New Revision: 7521

Added:
   dumbhippo/trunk/server/web/jsp-gnome/account-types.jsp
Modified:
   dumbhippo/trunk/server/web/jsp-gnome/accounts-learnmore.jsp
   dumbhippo/trunk/server/web/servlet-info.xml
   dumbhippo/trunk/server/web/tags/3/accountEditTable.tag
Log:
Create a place-holder page for listing existing account types. 

Include a link to accounts-learnmore page on the GNOME Online account page.


Added: dumbhippo/trunk/server/web/jsp-gnome/account-types.jsp
===================================================================
--- dumbhippo/trunk/server/web/jsp-gnome/account-types.jsp	2008-10-28 07:39:45 UTC (rev 7520)
+++ dumbhippo/trunk/server/web/jsp-gnome/account-types.jsp	2008-10-28 17:45:46 UTC (rev 7521)
@@ -0,0 +1,26 @@
+<html>
+<%@ page pageEncoding="UTF-8" %>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/core"; prefix="c" %>
+<%@ taglib uri="/jsp/dumbhippo.tld" prefix="dh" %>
+<%@ taglib tagdir="/WEB-INF/tags/2" prefix="dht" %>
+<%@ taglib tagdir="/WEB-INF/tags/3" prefix="dht3" %>
+<%@ taglib tagdir="/WEB-INF/tags/gnome" prefix="gnome" %>
+
+<head>
+	<title>Existing Account Types</title>
+	<gnome:stylesheet name="site" iefixes="true"/>	
+</head>
+
+<body>
+	<gnome:page currentPageLink="account-types">
+	    <h3>Existing Account Types</h3>
+   		<div class="gnome-learn-more-text">
+		    <p>		    
+		      	This page is coming soon. Please use online-desktop-list gnome org mailing list 
+		      	or irc.gnome.org #online-desktop channel to check if the type you want to create
+		      	already exists or ask to modify the type you already created.
+		    </p>
+        </div> 
+	</gnome:page>
+</body>
+</html>
\ No newline at end of file

Modified: dumbhippo/trunk/server/web/jsp-gnome/accounts-learnmore.jsp
===================================================================
--- dumbhippo/trunk/server/web/jsp-gnome/accounts-learnmore.jsp	2008-10-28 07:39:45 UTC (rev 7520)
+++ dumbhippo/trunk/server/web/jsp-gnome/accounts-learnmore.jsp	2008-10-28 17:45:46 UTC (rev 7521)
@@ -12,7 +12,7 @@
 </head>
 
 <body>
-	<gnome:page currentPageLink="applications">
+	<gnome:page currentPageLink="accounts-learnmore">
 	    <h1>Accounts Service</h1>
    		<div class="gnome-learn-more-text">
    		    <h2>Accounts Service on the Desktop</h2>

Modified: dumbhippo/trunk/server/web/servlet-info.xml
===================================================================
--- dumbhippo/trunk/server/web/servlet-info.xml	2008-10-28 07:39:45 UTC (rev 7520)
+++ dumbhippo/trunk/server/web/servlet-info.xml	2008-10-28 17:45:46 UTC (rev 7521)
@@ -319,7 +319,7 @@
       </init-param>
       <init-param>
           <param-name>requiresSignin</param-name>
-          <param-value>account,admin,account-type-add,application-edit,application-history,chatwindow,chatwindow-disabled,create-group,download,friends,getradar,group-account,group-invitation,group-invitations,home,invitation,invitation-admin,network,network-overview,radar-theme-creator,statistics</param-value>
+          <param-value>account,admin,account-type-add,account-types,application-edit,application-history,chatwindow,chatwindow-disabled,create-group,download,friends,getradar,group-account,group-invitation,group-invitations,home,invitation,invitation-admin,network,network-overview,radar-theme-creator,statistics</param-value>
       </init-param>
       <load-on-startup>1</load-on-startup>
    </servlet>   

Modified: dumbhippo/trunk/server/web/tags/3/accountEditTable.tag
===================================================================
--- dumbhippo/trunk/server/web/tags/3/accountEditTable.tag	2008-10-28 07:39:45 UTC (rev 7520)
+++ dumbhippo/trunk/server/web/tags/3/accountEditTable.tag	2008-10-28 17:45:46 UTC (rev 7521)
@@ -98,6 +98,12 @@
 	    </dht2:formTableRow>
 	</c:if>    
 	<dht2:formTableRow label="Accounts" altRow="${dh:enumIs(site, 'MUGSHOT')}">
+	    <c:if test="${dh:enumIs(site, 'GNOME')}">
+		    <div class="dh-explanation">
+	        Listing your accounts here will make them available to the desktop applications (<a href="/accounts-learnmore">Learn more</a>),
+	        as well as to Mugshot if you have it enabled.
+		    </div>
+		</c:if>    
 		<dht3:accountEditTableExternals account="${account}"/>
 	</dht2:formTableRow>
 	<c:if test="${dh:enumIs(site, 'MUGSHOT')}">	



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