aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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" />