]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/mowgli/home/xsl/work-packages_index.xsl
* <I> ==> <em> everywhere
[helm.git] / helm / mowgli / home / xsl / work-packages_index.xsl
index 9ade48c7d903003744c0f8991770cc92feca99a3..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>
    </tr>
   </thead>
   <tbody>
-   <xsl:apply-templates/>
+   <xsl:apply-templates select="work-package"/>
   </tbody>
  </table>
+ <xsl:copy-of select="description/*"/>
 </xsl:template>
 
 <xsl:template match="work-package">
   <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>
@@ -83,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"/>