]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/mowgli/home/xsl/work-packages_index.xsl
A new wonderful page that shows the deadlines ordered by date.
[helm.git] / helm / mowgli / home / xsl / work-packages_index.xsl
index ddd9a035f07181e51807c6372bf06ef8469a0261..629009daeee376518591885288ad9822af6ce07e 100644 (file)
    <link rel="stylesheet" href="../../style/mowgli.css" type="text/css"/>
   </head>
   <body>
-   <xsl:apply-templates/>
+    <xsl:call-template name="head">
+     <xsl:with-param name="path_to_top" select="'..'"/>
+    </xsl:call-template>
+    <xsl:apply-templates/>
+    <xsl:call-template name="foot">
+     <xsl:with-param name="path_to_top" select="'..'"/>
+    </xsl:call-template>
   </body>
  </html>
 </xsl:template>
   <td valign="top">
    <xsl:if test="$work-package/deliverable">
     <ul>
-     <xsl:variable name="url" select="concat(@file,'.html')"/>
      <xsl:for-each select="$work-package/deliverable[@file]">
       <xsl:apply-templates select="document(concat('../xml/deliverables/',@file,'.xml'))/deliverable">
-       <xsl:with-param name="url" select="$url"/>
+       <xsl:with-param name="url" select="concat('../deliverables/',@file,'.html')"/>
       </xsl:apply-templates>
      </xsl:for-each>
     </ul>
@@ -84,7 +89,7 @@
 <xsl:template match="deliverable">
  <xsl:param name="url"/>
  <li>
-  <a href="{$url}#{@id}">
+  <a href="{$url}">
    <xsl:value-of select="@id"/>
    <xsl:text> </xsl:text>
    <xsl:value-of select="name"/>