aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorStefan Rotsch <ritschie@cvs.gnome.org>2004-04-02 18:38:16 +0800
committerStefan Rotsch <ritschie@src.gnome.org>2004-04-02 18:38:16 +0800
commit36c1b845f2955e43f765fd8e421c66ed05ad5ea3 (patch)
tree89903d221e9e68398f4e295a0a5615c937ffe68e /doc
parent242a4fd05a48641f738e30cc27534623f545ddbc (diff)
downloadgsoc2013-epiphany-36c1b845f2955e43f765fd8e421c66ed05ad5ea3.tar
gsoc2013-epiphany-36c1b845f2955e43f765fd8e421c66ed05ad5ea3.tar.gz
gsoc2013-epiphany-36c1b845f2955e43f765fd8e421c66ed05ad5ea3.tar.bz2
gsoc2013-epiphany-36c1b845f2955e43f765fd8e421c66ed05ad5ea3.tar.lz
gsoc2013-epiphany-36c1b845f2955e43f765fd8e421c66ed05ad5ea3.tar.xz
gsoc2013-epiphany-36c1b845f2955e43f765fd8e421c66ed05ad5ea3.tar.zst
gsoc2013-epiphany-36c1b845f2955e43f765fd8e421c66ed05ad5ea3.zip
added <!ELEMENT > declaration for bugzilla tag fixed test for presence of
2004-04-02 Stefan Rotsch <ritschie@cvs.gnome.org> * doc/plan/ephyplan.dtd: added <!ELEMENT > declaration for bugzilla tag * doc/plan/plan2table.xsl: fixed test for presence of bugzilla tag; now it should work
Diffstat (limited to 'doc')
-rw-r--r--doc/plan/ephyplan.dtd1
-rw-r--r--doc/plan/plan2table.xsl10
2 files changed, 10 insertions, 1 deletions
diff --git a/doc/plan/ephyplan.dtd b/doc/plan/ephyplan.dtd
index 115bc8119..30849d4b3 100644
--- a/doc/plan/ephyplan.dtd
+++ b/doc/plan/ephyplan.dtd
@@ -7,6 +7,7 @@
<!ELEMENT description (#PCDATA)>
<!ELEMENT status EMPTY>
<!ELEMENT responsible (#PCDATA)>
+<!ELEMENT bugzilla EMPTY>
<!ATTLIST bugzilla id CDATA #REQUIRED>
<!ATTLIST plan version CDATA #REQUIRED>
diff --git a/doc/plan/plan2table.xsl b/doc/plan/plan2table.xsl
index 92fc30877..ca655a162 100644
--- a/doc/plan/plan2table.xsl
+++ b/doc/plan/plan2table.xsl
@@ -10,6 +10,7 @@
.blank { padding: 0.5em 0; }
.title { background-color: #669; color: #FFF; font-size: 1.2em; font-weight: bold; padding: 0 0.25em; text-align: left; }
.description {background-color: #CAA; padding: 0.25em 0.5em; text-align: left; }
+ .bugzilla a { color: #FFF; text-decoration: underline; }
.responsible { white-space: nowrap; }
.status { padding: 0.25em 1em; text-align: center; }
.completed { background-color: #0F0; color: #FFF; }
@@ -33,7 +34,14 @@
<xsl:template match="item">
<tr>
- <td class="title" colspan="2"><xsl:value-of select="title" /></td>
+ <td class="title" colspan="2">
+ <xsl:value-of select="title" />
+ <span class="bugzilla">
+ <xsl:if test="normalize-space(bugzilla/@id)">
+ (<a href="http://bugzilla.gnome.org/show_bug.cgi?id={bugzilla/@id}">#<xsl:value-of select="bugzilla/@id" /></a>)
+ </xsl:if>
+ </span>
+ </td>
</tr>
<tr>
<td class="description"><xsl:value-of select="description" />