[Yanel-commits] rev 23811 -
public/yanel/trunk/src/resources/add-realm/xslt
michi at wyona.com
michi at wyona.com
Tue Apr 17 11:45:37 CEST 2007
Author: michi
Date: 2007-04-17 11:45:36 +0200 (Tue, 17 Apr 2007)
New Revision: 23811
Modified:
public/yanel/trunk/src/resources/add-realm/xslt/add-realm-from-existing-website.xsl
Log:
refresh fixed
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-17 09:32:33 UTC (rev 23810)
+++ public/yanel/trunk/src/resources/add-realm/xslt/add-realm-from-existing-website.xsl 2007-04-17 09:45:36 UTC (rev 23811)
@@ -10,11 +10,20 @@
<xsl:output method="xhtml" encoding="UTF-8"/>
<xsl:param name="yanel.back2context" select="''" />
+ <xsl:param name="refresh-time" select="'2'" />
<xsl:template match="/">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Add Realm From Existing Website</title>
+ <xsl:choose>
+ <xsl:when test="/yanel:add-realm/yanel:from-existing-website/yanel:isdone = 'false'">
+ <meta http-equiv="refresh" content="{$refresh-time}"/>
+ </xsl:when>
+ <xsl:when test="/yanel:add-realm/yanel:from-existing-website/yanel:crawler-running">
+ <meta http-equiv="refresh" content="{$refresh-time}, URL=?check-crawler-status=Check..."/>
+ </xsl:when>
+ </xsl:choose>
</head>
<body>
<h1>Add Realm From Existing Website</h1>
@@ -103,7 +112,7 @@
<p>
<xsl:choose>
<xsl:when test=". = 'false'">
- Still crawling resp. importing ... (Please reload this page to check on status)
+ Still crawling resp. importing ... (This page will be reloaded every <xsl:value-of select="$refresh-time"/> seconds)
</xsl:when>
<xsl:when test=". = 'true'">
Crawling resp. importing has been completed :-) Please see new realm <a href="{../yanel:realm-id}/"><xsl:value-of select="../yanel:realm-name"/></a>.
More information about the Yanel-commits
mailing list