[gimp-help-2] Make it easier to report bugs.
- From: Roman Joost <romanofski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp-help-2] Make it easier to report bugs.
- Date: Fri, 8 Nov 2013 02:18:54 +0000 (UTC)
commit 5fbbae466322ef5f0a5a0274c3997ecbbd23d2e5
Author: Róman Joost <romanofski gimp org>
Date: Thu Nov 7 11:36:39 2013 +1000
Make it easier to report bugs.
Bug: 711318
src/help-missing.xml | 8 ++++++--
stylesheets/gimp-help-screen.css | 7 +++++++
stylesheets/plainhtml.xsl.in | 11 +++++++++++
3 files changed, 24 insertions(+), 2 deletions(-)
---
diff --git a/src/help-missing.xml b/src/help-missing.xml
index 00fbe18..63b16a7 100644
--- a/src/help-missing.xml
+++ b/src/help-missing.xml
@@ -23,8 +23,12 @@
<para>
Found a <emphasis role="bold">content error</emphasis> or just
something which doesn't look right?
- <ulink url="https://bugzilla.gnome.org/enter_bug.cgi?product=GIMP-manual";>
- Report it
+ <!-- This link is also used to render a small link in the left hand
+ side of the footer, to help users filing bug reports.
+ Bug: 711318
+ -->
+ <ulink id="reportbug" url="https://bugzilla.gnome.org/enter_bug.cgi?product=GIMP-manual";>
+ Report an error in Bugzilla
</ulink> and let us know.
</para>
</appendix>
diff --git a/stylesheets/gimp-help-screen.css b/stylesheets/gimp-help-screen.css
index 31c1e21..9890918 100644
--- a/stylesheets/gimp-help-screen.css
+++ b/stylesheets/gimp-help-screen.css
@@ -515,6 +515,13 @@ div.navheader,div.heading {
div.navfooter,div.footing {
border-top: 1px solid;
}
+div.navfooter > .reportbug {
+ font-size: small;
+ display: block;
+ padding: 0.2em;
+ text-align: center;
+ color: #0e2426;
+}
div.navheader .show_other_language {
background: rgb(21, 21, 21);
diff --git a/stylesheets/plainhtml.xsl.in b/stylesheets/plainhtml.xsl.in
index e6c4497..7ad691e 100644
--- a/stylesheets/plainhtml.xsl.in
+++ b/stylesheets/plainhtml.xsl.in
@@ -67,6 +67,8 @@
<xsl:param name="use.id.as.filename">1</xsl:param>
<xsl:param name="gimp.help.languageselector">0</xsl:param>
<xsl:param name="gimp.help.all_linguas">@ALL_LINGUAS@</xsl:param>
+ <!-- Quick access to report bugs in our Bugzilla Bug: 711318 -->
+ <xsl:param name="gimphelp.reportbug" select="//ulink[ id='reportbug']" />
<!-- Add NotInToc role to simplesect, which is using in fdl.xml to
deal with FDL-In-TOC issue.
@@ -335,6 +337,15 @@
</xsl:if>
</table>
</xsl:if>
+ <a>
+ <xsl:attribute name="href">
+ <xsl:value-of select="$gimphelp.reportbug/@url"/>
+ </xsl:attribute>
+ <xsl:attribute name="class">
+ <xsl:value-of select="$gimphelp.reportbug/@id"/>
+ </xsl:attribute>
+ <xsl:value-of select="$gimphelp.reportbug" />
+ </a>
</div>
</xsl:if>
</xsl:template>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]