~ubuntu-branches/ubuntu/oneiric/tomboy/oneiric-updates

« back to all changes in this revision

Viewing changes to Tomboy/Addins/ExportToHtml/ExportToHtml.xsl

  • Committer: Bazaar Package Importer
  • Author(s): Iain Lane
  • Date: 2011-07-06 10:06:49 UTC
  • mfrom: (1.3.21 upstream) (4.3.7 experimental)
  • Revision ID: james.westby@ubuntu.com-20110706100649-fj04lw8mvc3fzwqv
Tags: 1.7.1-1ubuntu1
* Merge with Debian experimental, remaning changes:
  + Use dh-translations instead of manually stripping schema
  + Ubuntu patches:
    - Add Launchpad integration
    - Use Ubuntu One SSO
    - Add app indicator support
    - Use Ubuntu One as default sync server
    - Add initial note about Ubuntu One
  + autoreconf for some of the above changes

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
<xsl:param name="export-linked" />
13
13
<xsl:param name="export-linked-all" />
14
14
<xsl:param name="root-note" />
 
15
<xsl:param name="exporting-multiple" />
15
16
 
16
17
<xsl:param name="newline" select="'&#xA;'" />
17
18
 
133
134
</xsl:template>
134
135
 
135
136
<xsl:template match="link:internal">
136
 
        <a style="color:#204A87" href="#{tomboy:ToLower(node())}">
137
 
                <xsl:value-of select="node()"/>
138
 
        </a>
 
137
        <xsl:choose>
 
138
                <xsl:when test="$exporting-multiple">
 
139
                        <a style="color:#204A87" href="{tomboy:GetRelativePath(node())}">
 
140
                                <xsl:value-of select="node()"/>
 
141
                        </a>
 
142
                </xsl:when>
 
143
                <xsl:otherwise>
 
144
                        <a style="color:#204A87" href="#{tomboy:ToLower(node())}">
 
145
                                <xsl:value-of select="node()"/>
 
146
                        </a>
 
147
                </xsl:otherwise>
 
148
        </xsl:choose>
139
149
</xsl:template>
140
150
 
141
151
<xsl:template match="link:url">