[Yanel-commits] rev 23695 - public/yanel/trunk/src/resources/add-realm/xslt

michi at wyona.com michi at wyona.com
Thu Apr 12 16:22:40 CEST 2007


Author: michi
Date: 2007-04-12 16:22:38 +0200 (Thu, 12 Apr 2007)
New Revision: 23695

Modified:
   public/yanel/trunk/src/resources/add-realm/xslt/add-realm-from-existing-website.xsl
Log:
check crawler status

Modified: public/yanel/trunk/src/resources/add-realm/xslt/add-realm-from-existing-website.xsl
===================================================================
--- public/yanel/trunk/src/resources/add-realm/xslt/add-realm-from-existing-website.xsl	2007-04-12 13:07:28 UTC (rev 23694)
+++ public/yanel/trunk/src/resources/add-realm/xslt/add-realm-from-existing-website.xsl	2007-04-12 14:22:38 UTC (rev 23695)
@@ -22,7 +22,17 @@
 
       <xsl:choose>
         <xsl:when test="/yanel:add-realm/yanel:from-existing-website/yanel:realm-created">
-	  <p>Realm has been created and registered</p>
+          <xsl:choose>
+          <xsl:when test="/yanel:add-realm/yanel:from-existing-website/yanel:crawler-running">
+	    <p>Realm has been created and registered, but the Crawler is still running ...</p>
+            <form>
+              <input type="submit" name="check-crawler-status" value="Check Crawler Status"/>
+            </form>
+          </xsl:when>
+          <xsl:otherwise>
+	    <p>Realm has been created, registered and all downloaded pages have been imported :-)</p>
+          </xsl:otherwise>
+          </xsl:choose>
         </xsl:when>
         <xsl:otherwise>
       <xsl:apply-templates select="/yanel:add-realm/yanel:from-existing-website/yanel:not-valid"/>
@@ -63,11 +73,11 @@
   </xsl:template>
 
   <xsl:template match="@yanel:exception">
-    <tr><td colspan="2"><font color="red">Exception:</font> <xsl:value-of select="."/></td></tr>
+    <tr><td colspan="2"><font color="red">Exception:</font>&#160;<xsl:value-of select="."/></td></tr>
   </xsl:template>
 
   <xsl:template match="yanel:not-valid">
-    <p>Something is wrong with one or more input parameters. Please see below for more details.</p>
+    <p><b>Something is wrong with one or more input parameters. Please see below for more details.</b></p>
   </xsl:template>
 
   <xsl:template match="yanel:valid">




More information about the Yanel-commits mailing list